text
stringlengths
7
5.36M
10 REM tehni~eskij kontrolx 15 CLEAR 31575: LOAD "TK V1.0R"CODE : RANDOMIZE USR 32520: POKE 23676,123 20 BORDER 7: PAPER 7: INK 9: CLS 100 PRINT " █████ █ ▄█ tehni~. kontrolx █ █▄█▀ pbk ""|rudit-002 "" █ █▀█▄ © piwowarow a.w. █ █ ▀█ V1.0R 24.11.1990" 120 PLOT 191,136: DRAW 57,0: DRAW ...
10 RBR=&FEB0:THR=&FEB0:DLL=&FEB0:IER=&FEB1:DLM=&FEB1:FCR=&FEB2:EFR=&FEB2:IIR=&FEB2:LCR=&FEB3:MCR=&FEB4:LSR=&FEB5:MSR=&FEB6:SCR=&FEB7 20 PRINT "Albireo Serial Link test" 25 ' Detect the device 30 OUT SCR,42:a=INP(SCR):IF a <>42 THEN PRINT "Serial controller not detected":END 40 PRINT "Serial controller detected" 48 OUT ...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault DividingLines = NotDefault FilterOn = NotDefault AllowDesignChanges = NotDefault DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 Cycle =1 GridX =24 GridY =24 Wid...
10 INPUT A,B,H 20 FOR I=A TO B STEP H 30 NEXT I:PRINT I 
CLS SCREEN 9 CALL info WHILE 1 CALL menu WEND SUB drawMedal c = 12 LINE (570, 305)-(600, 335), c LINE (560, 320)-(582, 342), c LINE (582, 342)-(600, 335), c LINE (570, 305)-(560, 320), c PAINT (571, 310), c, c LINE (540, 305)-(500, 335), c LINE (550, 320)-(524, 342), ...
110 INPUT PROMPT "ENTER DELTA X: ": DX 120 REM DEFINE VALUE OF DELTA X 130 INPUT PROMPT "ENTER Y(0): ": INIT 140 REM GIVE BOUNDARY CONDITION 150 SET WINDOW 0,10,0,10 160 DRAW GRID 170 PLOT POINTS: 0,INIT 180 SET POINT STYLE 3 190 LET A = INIT 200 LET X = 0 210 FOR I = 0 TO 10/DX 220 LET A = A + DX/A 230 LET X ...
'********************************************************************** '* R T C B * '*--------------------------------------------------------------------* '* Task : Makes different routines available for reading * '* and wri...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =114...
Version =20 VersionRequired =20 PublishOption =1 RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularCharSet =238 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 Width =6994 ...
10 DIM M(885):K=885 20 FOR Q=102 TO 987 30 M(Q-102)=Q 40 NEXT Q 50 RANDOMIZE VAL(RIGHT$(TIME$,2)) 60 IF K=0 THEN 330 70 IF K=-1 THEN 340 80 P=INT(RND*K) 90 G=M(P) 100 X=INT(G/100) 110 Y=INT(G/10-X*10) 120 Z=G-X*100-Y*10 130 IF X=0 OR X=Y OR X=Z OR Y=Z THEN 80 140 PRINT 150 PRINT"WHAT'S ABOUT";G;"?" 160 I...
Version =20 VersionRequired =20 Begin Form AllowDesignChanges = NotDefault DefaultView =0 TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =11160 DatasheetFontHeight =10 ItemSuffix =89 Left =2460 Top =285 Right =13905 B...
DIM vopros$(5) DIM otvet$(5) vopros$(1) = "яшин" vopros$(2) = "динамо" vopros$(3) = "1960" vopros$(4) = "киев" vopros$(5) = "зенит" CLS PRINT "Представтесь пожалуйста" INPUT imia$ CLS PRINT "-> "; imia$; ", отвечайте на вопросы !" FOR nomer = 1 TO 5 PRINT "-> "; nomer; " вопрос" SELECT CASE nomer CASE IS...
1 %TITLE "Product Category Update" %SBTTL "IC_SPEC_CATUPDATE" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1993 BY ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! the inclu...
1 %TITLE "LIBR_INSERT_A - Insert a Text File into a Library" %SBTTL "" %IDENT "V3.6a Calico" FUNCTION LONG LIBR_INSERT_A(KEY_NAME$, RFA TEXT.RFA) ! ! COPYRIGHT (C) 1987 BY ! Computer Management Center, Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in acc...
DEFINT A-Z 'For faster program speed '$INCLUDE: 'qb.bi' 'Interrupt Definitions by QuickBasic 'CD-ROM FUNCTIONS DECLARE FUNCTION CDDrive% () 'Obtain Drive letter (A=0,B=1...) DECLARE FUNCTION GetCDVTOC$ (DR%) 'Get CD's Volume Table of Contents ...
rem Beispiel fuer Zahlenausgabe in rem Hex- und Binaerdarstellung for a=0 to 32 gosub 100 print " ", gosub 200 print next a end rem ***** Ende ***** rem ***** Unterprogramme ***** 100: rem *** Zahl binaer ausgeben *** rem Zahl steht in a rem b wird als Array definiert und rem manipuliert; t, i werden ebenfa...
5 a = 1 10 CLS 20 COLOR 9 40 PRINT CHR$(201); STRING$(78, CHR$(205)); : PRINT CHR$(187) 50 FOR t = 1 TO 10 60 PRINT CHR$(186); : PRINT SPC(78); : PRINT CHR$(186) 70 NEXT t 80 PRINT CHR$(200); STRING$(78, CHR$(205)); : PRINT CHR$(188) 90 a = a + 1 100 FOR t = 1 TO 2000: NEXT t 110 IF a = 2 THEN 200 120 IF a =...
10 REM MAKE SURE SYSTEM IS WORKING 20 PRINT "HELLO TRS-80" 25 PRINT "THIS IS LEVEL-II BASIC" 30 END
REM Two-dimensional Thunderbird REM Programming elements included here were developed in background research REM for Patrick Grim, Gary Mar and Paul St. Denis, THE PHILOSOPHICAL COMPUTER: REM EXPLORATORY ESSAYS IN PHILOSOPHICAL COMPUTER MODELING, Bradford Books/ REM MIT Press. You are free to use and adapt this progr...
' ' Microsoft RemLine - Utilitaire de suppression de num‚ros de ligne ' Copyright (C) Microsoft Corporation 1985-1991 ' ' REMLINE.BAS est un programme qui supprime les num‚ros de ligne d'un ' programme Microsoft Basic. Il ne supprime les num‚ros que pour les ' lignes qui ne sont pas r‚f‚renc‚es par les instru...
10 SCREEN 9 PRINT "Knopfdrcken zum starten" 12 IF STRIG(1) = -1 THEN GOTO 15 ELSE GOTO 12 15 t = TIMER 20 b = STRIG(1) 25 IF d = -1 THEN GOTO 45 30 IF b = -1 THEN a = a + 1: d = -1 45 b = STRIG(1) IF b = 0 THEN d = 0 50 LOCATE 1, 1: PRINT a; TIMER IF TIMER - t > 3 THEN PRINT a * 20: a = 0: GOTO 12 GOTO 20 ...
CLS COLOR 3, 1 PRINT "Hello! "; COLOR 15, 6 PRINT "It's me!" COLOR 7, 0 PRINT "What's your name? "; INPUT name$ PRINT "Enter a color for the text: "; INPUT fg PRINT "Enter a color for the bg: "; INPUT bg COLOR fg, bg PRINT PRINT "Listen, "; PRINT name$; PRINT "..." PRINT "I'll sleep for 2 seconds..." SLEEP 2 COLOR 7, 0...
1 REM POKE PALETTE DATA 10 POKE $9F20,0:POKE $9F21,$10:POKE $9F22,$1F 20 FOR I = 0 TO 111 40 READ A:POKE $9F23,A:NEXT I 1000 REM DATA WILL BE APPENDED HERE
' ------------------------------------------------------------------------ ' Visual Basic for MS-DOS Setup Toolkit ' ' SETUP.BAS - startup file for Setup program. ' ' The Setup Toolkit is designed to be modified by you to ' create Setup programs for your applications. The toolkit ' is provided in source code form and ...
100 REM Program to plot a specified function in 110 REM high-resolution mode. 120 REM Variables starting with I-L are integers 130 DEFINT I-L 140 REM Set high-resolution screen 150 SCREEN 2:KEY OFF:CLS 160 REM Prompt for labels 170 INPUT "Label for Graph? (max 78 letters) ",G$:G$=LEFT$(G$,78) 180 INPUT "Label...
SCREEN 12 x = 1: y = 1 b = 10 CLS 10 OPEN "c:\dos\basic\icons\_Yoshi4.ico" FOR RANDOM AS #1 LEN = 1 FIELD #1, 1 AS a$ FOR a = 638 TO 127 STEP -1 GET #1, a ' IF HEX$(ASC(a$)) = "0" THEN fa = 0 ' IF HEX$(ASC(a$)) = "C" THEN fa = 1 ' IF HEX$(ASC(a$)) = "2" THEN fa = 2 ' IF HEX$(ASC(a$)) = T...
ON ERROR GOTO weiter RANDOMIZE TIMER SCREEN 7, , 1, 0 WINDOW (-160, -100)-(159, 99) anz = 1000 'Sternezahl max3000 d = .01 'drehgeschwindigkeit g = 5 'fluggeschwindigkeit DIM x(3000), y(3000), z(3000) FOR q = 1 TO anz x(q) = RND * 320 - 160 y(q) = RND * 320 - 160 z(q) = RND * 210 - 10 PS...
10 FOR S = 0 TO 1000 20 PRINT S;"--- HELLO" 30 NEXT
100 REM PALIN1 110 GOSUB 1100 120 LET C=0 130 LET Z=11 140 LET X=0:LET Y=6:GOSUB 1700:PRINT"testing ";Z 150 LET N=Z*Z 160 GOSUB 260 170 IF T=0 THEN GOTO 230 180 LET N=Z 190 GOSUB 260 200 IF T=1 THEN GOTO 230 210 LET C=C+1 220 PRINT:PRINT"number = ";Z:PRINT:PRINT"square = ";Z*Z 230 LET Z=Z+1 240 IF C<3 THEN GOTO 140 250...
Attribute VB_Name = "MOD_ShellWait" Option Explicit Private Declare Function OpenProcess Lib "kernel32" _ (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, _ ByVal dwProcessId As Long) As Long Private Declare Function GetExitCodeProcess Lib "kernel32" _ (ByVal hProcess As Long, lpExitCode As Long)...
'********* DEMOARAY.BAS ' 'Copyright (c) 1992 Fred Sexton Jr. ' 'For this demo the data in the arrays will hold 320 x 200 x 256 graphic 'images, and also the associated QuickBASIC palettes. DEFINT A-Z '$INCLUDE: 'ERRCODES.BI' SCREEN 13 REDIM Image(32001) 'this will GET the images (64004) bytes REDIM Pal...
'_|_|_| CONFETTI.BAS '_|_|_| This program demonstrates a method of emulating the '_|_|_| motion of falling confetti in QuickBasic graphics. '_|_|_| Released to PUBLIC DOMAIN by Kurt Kuzba (1/1/96) RANDOMIZE (TIMER + INP(64)) f% = VAL(COMMAND$): IF f% < 50 THEN f% = 49 c% = 0: cl% = 15: IF f% > 200 THE...
30000 DEFine PROCedure qs_header(ch,vers$) 30010 PUT #ch%;19196||0 30020 PRINT #ch%;'SPRD'&vers$; 30030 END DEFine 30040 : 30050 DEFine PROCedure qs_size(ch,col%,row%) 30060 PUT #ch%;col%,row% 30070 END DEFine 30080 : 30090 DEFine PROCedure qs_cols(ch,cols) 30100 LOCal i 30110 FOR i=0 TO DIMN(cols):BPUT #ch...
100 CLEAR100,&HD7FF:SCREEN1:DEFINTA-Z 110 FORI=0TO&H44:READD:POKE&HD800+I,D:NEXT 120 DEFUSR0=&HD800:A=USR(0) 130 END 140 DATA &H3E,&H04,&HCD,&H5F,&H00,&H3E,&H01,&H32,&HAF,&HFC,&H21,&HBF,&H1B,&H11,&H00,&H00 150 DATA &H01,&H00,&H08,&HCD,&H5C,&H00,&H21,&HBF,&H1B,&H11,&H00,&H08,&H01,&H00,&H08,&HCD 160 DATA &H5C,&H00,&H21,&...
5 i = 0 6 s = 0 10 INPUT x 15 IF x = 11111 THEN 50 21 s = s + x 25 i = i + 1 30 GOTO 10 50 PRINT "the average is"; s / i PRINT "do you want to average more numbers?" PRINT "y/n" INPUT a$ IF a$ = "y" THEN 5
10 REM This is a test 12 OPTION BASE 1 15 DIM A(3,4) 20 FILES "input.txt" 30 MAT INPUT #1;A 40 MAT PRINT A 90 STOP 99 END
DECLARE FUNCTION dec2bin$ (dah) CLS COLOR 2 PRINT "Number of questions"; COLOR 10 INPUT kol DIM soal(kol), daste(kol) FOR i = 1 TO kol daste(i) = 0 COLOR 3 PRINT "Probability of question number"; i; COLOR 11 DO INPUT soal(i) IF soal(i) < 0 OR soal(i) > 100 THEN PRINT "Probabilit...
10 KEY ON:CLS 20 KEY 1, "files"+CHR$(13) 30 KEY 2, "load"+CHR$(34) 40 KEY 3, "width 40"+CHR$(13) 50 KEY 4, "list " 60 KEY 5, "run " 70 KEY 6, "color 15,4,4"+CHR$(13) 80 KEY 7, "save"+CHR$(34)+CHR$(34)+",a"+CHR$(29)+CHR$(29)+CHR$(29)+CHR$(18) 90 KEY 8, "width 80"+CHR$(13) 100 KEY 9, "list."+CHR$(13)+CHR$(30)+CH...
100 DEFine PROCedure init 110 base=ALCHP(40*1024) 120 form=base+2048 130 tos=form+2048 135 pos=0 140 LBYTES 'win1_spread_fpars_test_bin',base 150 formula$="2*1-2*2-2*3" 160 POKE_$ form,form$ 165 PRINT HEX$(base,32) 170 END DEFine 180 : 190 DEFine PROCedure test 200 CALL base,pos,0,0,0,0,0,0,form,tos,0...
' Monkey Type Game ' Setup Screen and graphics SCREEN 13: CLS CLS: PAINT (160, 100), 100 CONST x_max = 320 CONST y_max = 200 ' TODO: make this adjustable CONST y_grav = 1 ' wind is another TODO ' User defined values velocity = 0 angle = 0 ' Creating standin banana sprite in program (we can load in...
Attribute VB_Name = "Menu_Glands_Inputs" Option Explicit '****************************************************************************** '* Menu_Glands_Inputs '* This file contains procedures which deals with user inputs and interacts '* with 'Glands' menu '* '* Bugs: - '* '* To do: - '* '*****************************...
CLS 'All of my Declarations DIM selection AS INTEGER DIM upper AS STRING DIM LCASE AS STRING DIM lower AS STRING DIM UCASE AS STRING 'End of Declarations start: PRINT "Uppercase ----> Lowercase & Lowercase ----> Uppercase Conversion" PRINT PRINT "1) Uppercase ----> Lowercase" PRINT PRINT "2) Lowercase ----> Uppercase ...
10 CALL &8100 20 RUN
Operation =1 Option =0 Begin InputTables Name ="dbo_ProjectComponentMailShop" End Begin OutputColumns Expression ="dbo_ProjectComponentMailShop.*" End dbBoolean "ReturnsRecords" ="-1" dbInteger "ODBCTimeout" ="60" dbByte "RecordsetType" ="0" dbBoolean "OrderByOn" ="0" dbByte "Orientation" ="0" dbByte "DefaultV...
'THIS MODULE PRODUCES TWO MUTUALLY PERPENDICULAR VECTORS AT ANY ORIENTATION" 'THE ANGLES ARE POLAR EXPRESSIONS (+X = 0, +Y = 90, ETC.) FOR I = 1 TO 15 v1 = INT((RND(1)) * 1000) v2 = INT((RND(1) + .2) * 1000) a1 = INT((RND(1) + .5) * 100) a2 = a1 + 90 LPRINT "V...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault DefaultView =0 ViewsAllowed =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =6420 DatasheetFontHeight =11 Item...
DIM numbers(10) AS INTEGER DIM x AS INTEGER DIM high AS INTEGER DIM low AS INTEGER DIM con AS STRING DO FOR x = 1 TO 10 INPUT "Please enter no. for the array; numbers - ", numbers(x) NEXT x high = numbers(1) low = numbers(1) CLS FOR x = 1 TO 10 IF high > numbers(x) THEN ...
_TITLE "1roi software application" TYPE bsrules c0 AS INTEGER c1 AS INTEGER c2 AS INTEGER c3 AS INTEGER c4 AS INTEGER c5 AS INTEGER c6 AS INTEGER c7 AS INTEGER c8 AS INTEGER c9 AS INTEGER cT AS INTEGER cJ AS INTEGER cQ AS INTEGER cK AS INTEGER ...
100 PRINT "Start" 110 GOSUB 160 120 PRINT "Middle" 130 GOSUB 160 140 PRINT "End" 150 END 160 PRINT "Subroutine" 170 RETURN
100 PRINT "TRIG_REQUIRE_UNITS FALSE" 102 OPTION TRIG_REQUIRE_UNITS FALSE 110 LET C = 0.707 112 PRINT "C ="; C 120 LET A = ARCSIN(C) 122 PRINT "A ="; A 200 PRINT "TRIG_REQUIRE_UNITS TRUE" 202 OPTION TRIG_REQUIRE_UNITS TRUE 210 LET C = 0.707 212 PRINT "C ="; C 220 LET A = ARCSIN(C) 222 PRINT "A ="; A 999 END
DEFINT A-Z DECLARE SUB CheckBytes () DECLARE SUB SaveRLE () DECLARE SUB SavePaletteRLE () DIM SHARED tiles(2000) AS STRING*1 DIM SHARED outStr AS STRING * 1 DIM SHARED tileByte(256) AS INTEGER DIM SHARED numDifferentBytes AS INTEGER DIM SHARED numMatches(256) AS INTEGER DIM SHARED tPalette(0 to 14) AS STRING*1 FOR n...
1 %TITLE "Read Inventory Balance File" %SBTTL "IC_READ_35BALANCE_ALL" %IDENT "V3.6a Calico" FUNCTION LONG IC_READ_35BALANCE_ALL(XPRODUCT$, & XLOCATION$, & REAL XBALANCE(,)) ! ! COPYRIGHT (C) 2003 BY ! ! Software Solutions, Inc. ! Idaho Falls, Idaho ! ! This software is furnished under a license and may ...
REM 2019 Levi D. Smith LittleLamb$ = "EDCDEEEDDDEGG" PLAY "X" + VARPTR$(LittleLamb$) SOUND 440, 1 SOUND 640, 2 SCREEN 7 REM LetterL$ = "R10 D40 R20 D10 L30 U50" REM DRAW "BM 100, 50 C2 X" + VARPTR$(LetterL$) REM DRAW "BM 200, 50 C2 X" + VARPTR$(LetterL$) REM PAINT (201, 51), 10, 2 REM CIRCLE (50, 50), 20, 1 REM ...
$COMPILE EXE common chtime chtime=200 chain "fe961" end
1 REM Histogram 10 DIM TT(12) 20 FOR J=1 TO 12;INPUT K 30 TT(J)=K; NEXT J 40 PRINT $12; CLEAR 0; @=5 50 MOVE 60,12; DRAW 12,12 60 DRAW 12,42 70 FOR N=11 TO 0 STEP -1 80 IF N=7 PRINT "TEMP." 90 IF N%2=0 PRINT N*10 100 PRINT';NEXT N 110 PRINT " JAN MAR MAY JUL SEP NOV"' 120 PRINT...
10WAIT 0 20RANDOMIZE 30CLS 40IF INKEY$ <>"" THEN 40 50LOCATE 7,2 60PRINT "CALC GAME" 70LOCATE 6,4 80PRINT "PUSH ANY KEY" 100IF INKEY$ ="" GOTO 100 101T=0 102I=0 103N=0 110CLS 120WAIT 0 130IF INKEY$ <>"" THEN 130 140OP= RND 4 150SWITCH OP 160CASE 1 170 A= RND 99 180 B= RND 99 190 C= A+B 200 O$="+" ...
Operation =1 Option =0 Where ="(((dbo_CompanyEmployee.IsActive)=True))" Begin InputTables Name ="dbo_CompanyEmployee" Name ="dbo_CompanyEmployeeShiftManagement" End Begin OutputColumns Alias ="CompanyEmployeeID" Expression ="dbo_CompanyEmployee.ID" Expression ="dbo_CompanyEmployeeShiftManagement.ID...
Attribute VB_Name = "Module1" Public Machine_Location As String Public RegionConst As String Public DistrictConst As String Public SiteCodeConst As String Public OutreachCodeConst As String Public OutreachVar As String Public OrganizationString As String Public ClientAddress As String Public PartnerAddress...
'Sean Gravener period 3 1/29/98 'Tempature Section INPUT "Please enter the tempature: ", temp IF temp > 85 THEN PRINT "Swimming will be best" ELSEIF temp > 70 THEN PRINT "Tennis will be best" ELSEIF temp > 32 THEN PRINT "Golf will be best" ELSEIF temp > 10 THEN PRINT "Skiing will be best" ELSEIF temp <= 9 ...
memory[53280:53282] = 13, 6 clear_screen() cmd = open(device='disk', channel='command', fileno=15) f1, f2, m = np.zeros(43), np.zeros(43), np.zeros(43, 43) initialize_screen: clear_screen() print(' neuron network associative memory') print('\n' * 12) print('f1 - teach pattern f2 - dump matrix'...
REM Conway's Game of Life REM BASIC Prototype REM Sean Batzel REM ************************ REM Main REM ************************ DIM board(12, 12) GOSUB createBoard generation = 1 WHILE generation > 0 FOR x = 1 TO 11 FOR y = 1 TO 11 count = 0 a = x - 1 b = y + 1 ...
Attribute VB_Name = "FIDEMainModule" Public fMainForm As frmMain ' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ' SUB: Main ' PURPOSE: Gets the ball rolling ' * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Sub Main() frmSplash.Show frmSplash.Re...
atom=H contraction shell=S num_primitives=3 num_coefficients=1 114.56539174 0.0202297 17.14344486 0.1583825 3.80423282 0.8213877 contraction shell=S num_primitives=1 num_coefficients=1 1.03752199 1.0000000 contraction shell=S num_primitives=1 num_coefficients=1 0.32994305 1.0000000 contraction shell=S num_primitives=1 ...
CLS a = -150 b = 150 SCREEN 13 LOCATE 4, 12 VIEW (0, 0)-(300, 170), 0 a$ = INPUT$(1) IF a$ = " " THEN 5 a$ = INPUT$(1) COLOR 10 PRINT "W E L C O M E" FOR T = 1 TO 5800: NEXT T LOCATE 7, 17 PRINT "T O" FOR T = 1 TO 7000: NEXT T 5 LINE (0, 0)-(300, 170), 0, BF LINE (25, a + 50)-(40, a + 50), 7 LINE (40, ...
100 rem *** SNARK ... CATCH HIM WITH A WELL PLACED CIRCLE 110 rem *** PEOPLE'S COMPUTER COMPANY, MENLO PARK CA 120 rem *** SOME COMPUTERS NEED 'RANDOM' HERE 121 randomize timer 150 print "WANT THE RULES (1=YES 0=NO)"; 160 input z 170 if z=0 then goto 510 200 rem *** HERE ARE THE RULES 210 print 220 print "A SNARK IS H...
5 GOTO 500 10 PRINT"PROGRAM HALTED ":PRINT"EXECUTION TIME:";(TI-T)/60;"S":END 20 S(SP)=P(PC)*256+P(PC+1):PC=PC+2:SP=SP+1:GOTO 810 40 SP=SP-1:S(SP-1)=S(SP-1)-S(SP):GOTO 810 70 PC=P(PC)*256+P(PC+1):GOTO 810 90 SP=SP-1:IF S(SP)<0 THEN PC = P(PC)*256+P(PC+1):GOTO 810 91 PC=PC+2:GOTO 810 100 S(SP)=S(SP-1):SP=SP+1:GOTO 810 1...
# MODFLOW2005 Basic Package # # FREE constant 1 -1 IBOUND Layer 1 constant 1 -1 IBOUND Layer 2 9.9900e+02 constant 10. -1 STARTING HEADS Layer 1 constant 30. -1 STARTING HEADS Layer 2
100 print "{clear}" 110 input "weight (pounds)";p 120 input "intended daily calorie intake";c 130 input "inactive, fairly, or very active (0-2)";a 140 input "male, female (m or f)";s$: s$=left$(s$,1) 150 s=l:if s$="f" then s=.9 200 print "{clear}" s$ "{space*2}weight now:" p 210 print "calorie intake:" c 220 pr...
'Global objects Global OraSession As Object Global OraDatabase As Object Global EmpDynaset As Object Global DeptDynaset As Object 'Connection info and SELECT statements. Global Const Connect$ = "scott/tiger" Global Const DatabaseName$ = "ExampleDb" Global Const DeptQuery$ = "select * from dept" Global Const EmpQuery$ ...
5 ti$="000000" 10 dim m(160) 20 fort=0to160:m(t)=184:next 30 @on:@clr 60 fory=35to-25step-1 70 foro=0to159 71 x=(o+y*4-80)/7 80 h=sqr(x*x+y*y) 90 ifh<>.thenz=sin(h)/h 110 v=84+y*2-z*70 120 ifv>m(o)thenv=m(o):goto130 121 m(o)=v 130 @1,o,v 140 next:next 150 @return 151 print ti$
5 CLEAR VAL "24831" 10 LOAD "SC"SCREEN$: POKE 23739,111 20 LOAD "AG"CODE 24832 80 RANDOMIZE USR 24832
SUB ImprimirFacturav (DEVI$, DP$, MAXALBS, AREA5, AREA3T, AREA2T, AREADOC, MI) SHARED DIRECCT$, CADFE$ '$DYNAMIC DIM CLI(0 TO 7) AS STRING DIM FAC(0 TO 8) AS STRING DIM LINI(0 TO 5) AS STRING CLI(0) = FACTURA.CODCLIENT: CLI(1) = FACTURA.PERSONA.NOM CLI(2) = LTRIM$(RTRIM$(FACTURA.PERSONA.CO...
RESTORE @pic # lines 22 and 23 would need to be printed in the #0 screen area FOR A=0 TO 21 READ A$ PRINT AT A,0;A$; NEXT A @pic: # paste data statements below this line # and build with zmakebas -l
10 KEY 1,CHR$(27)+"LIST"+CHR$(32) 20 KEY 2,"FILES "+CHR$(34)+"*.BAS"+CHR$(34)+CHR$(13) 30 KEY 4,CHR$(27)+"RENUM"+CHR$(13)+CHR$(27)+"LIST"+CHR$(13) 40 KEY 5,STRING$(15,31)+CHR$(13) 50 KEY 6,CHR$(27)+"SAVE"+CHR$(34) 60 KEY 9,CHR$(27)+"LIST"+CHR$(13) 70 KEY 10,CHR$(27)+"RUN"+CHR$(13) 80 KEY ON 90 SCREEN 9 100 NEW...
;*************************************************************** ; ; Multisprite: 9 Objects With Coordinates ; ; ; By Duane Alan Hahn (Random Terrain) using hints, tips, ; code snippets, and more from AtariAge members such as ; batari, SeaGtGruff, RevEng, Robert M, Atarius Maximus, ; jro...
10 :REM'COILNEW - Coil calculator - 04 JUN 06 20 CLS:KEY OFF 30 IF EX$=""THEN EX$="EXIT" 40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$ 50 COMMON EX$,PROG$ 60 X$=STRING$(79,32) 70 UL$=STRING$(80,205) 80 PI=4*ATN(1) 90 :REM' 100 :REM'.....title page 110 CLS 120 PRINT " Coil Calculator (Dehoney Equations)"; 130 PRINT TAB(57)...
DIM u%(209) SCREEN 13 OPEN "C:\ESCAPE\GFX\LUP.GFX" FOR INPUT AS #1 RSL: ON ERROR GOTO E INPUT #1, J, K, C PSET (J, K), C GOTO RSL E: RESUME 12 12 CLOSE GET (0, 0)-(10, 7), u% CLS LINE (0, 108)-(320, 108), 32 m: FOR z = 1 TO 110 PUT (z, 100), u%, PSET FOR p = 1 TO 2500: NEXT 'PUT (z, 100), u%, XOR LIN...
' Quadcalc.bas ' 27/01/2002 print "Quadratic Equation Calculator" print "-----" print "SmallBASIC Version for Palm OS" print "Developed by: Marc Christian Saribay" print "Date Created: January 27, 2002" print "Last Update: May 19, 2003" print "-----" n="y" repeat 5 input "Enter a: ",a input "Enter b: ",b input "Enter c...
1 %TITLE "Tax Profile Maintenance" %SBTTL "PR_MAIN_REG_TAXES" %IDENT "V3.6a Calico" FUNCTION LONG PR_MAIN_REG_TAXES(CDD_WINDOW_CDD SMG_WINDOW, & LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE) ! ! COPYRIGHT (C) 1987, 1988 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software...
10 :REM'BANDSTOP - Band Reject Filter - 26 JUN 94 rev. 08 APR 97 20 IF EX$=""THEN EX$="EXIT" 30 CLS:KEY OFF 40 UL$=STRING$(80,205) 50 U$="##,###.##" 60 :REM' 70 :REM'.....start 80 COLOR 15,2,0 90 PRINT " BAND-REJECT FILTER";TAB(57);"by George Murphy VE3ERP "; 100 COLOR 1,0 110 PRINT STRING$(80,"▀"); 120 COLOR 7,0 130 :...
100 REM Program to demonstrate controlling the 110 REM CapsLock and NumLock states. CapsLock 120 REM is kept LOWERCASE, and NumLock is kept 130 REM NUMERIC. 140 SCREEN 1,0:COLOR 0,1:CLS:KEY OFF 150 LOCATE ,,1 'Set cursor on 160 DEF SEG=0 'Point segment to BIOS variables 170 RE...
$regfile = "attiny2313.dat" ' use the ATTiny2313 $crystal = 8000000 ' 8MHZ Crystal $baud = 1200 ' 1200 as baudrate $hwstack = 32 ' default use 32 for the ...
1000 REM ****************************************************************** 1010 REM * GPSS/PC(tm) COMMENT STRIPPER 1020 REM * BY 1030 REM * BRAD A. HEDRICK-GPSS/PC(tm) USER 1040 REM * AT HIRAM WALKER & SONS 1050 REM * 1060 RE...
dbMemo "SQL" ="SELECT DISTINCT qry_Infest_Size_Select.*, qry_Annual_Complete_Tgt_Species_Lists." "Priority\015\012FROM qry_Infest_Size_Select LEFT JOIN qry_Annual_Complete_Tgt_Sp" "ecies_Lists ON (qry_Infest_Size_Select.Master_Code = qry_Annual_Complete_Tgt_Spe" "cies_Lists.Master_Plant_Code_FK) AND (qry_I...
Attribute VB_Name = "modGlobals" Option Explicit Public MenuGrps() As MenuGrp Public MenuCmds() As MenuCmd Public Project As ProjectDef Public Preferences As PrgPrefs Public params() As AddInParameter Public FramesMode As Boolean Public FloodPanel As New clsFlood Public DoUNICODE As Boolean Public AppPath As String...
commands: '$include:'..\include\commands\echoproc.bas' '$include:'..\include\commands\dictateproc.bas' DO FOR runcommands = 1 TO usercommands '$include:'..\include\commands\jarvis.bas' IF active = 1 THEN '$include:'..\include\customcmd.bas' '$include:'..\include\commands\afir...
DIM ship(100) DIM circle1(100) DIM circle2(100) DIM circle3(100) PSET (100, 100) DRAW "r10f5d3g5u5l6f4l3h7u5r1" PSET (100, 50) DRAW "d5g6l3h4u3e4r8" PSET (50, 100) DRAW "u4r3e5r3f4d6g4l4h3l4u1" GET (95, 100)-(120, 120), circle1 GET (85, 50)-(120, 75), circle2 GET (48, 85)-(70, 115), circle3 CLS SCREEN 1 ...
! Define the various UUIDs blueRadiosUUID$ = "DA2B84F1-6279-48DE-BDC0-AFBEA0226079" infoUUID$ = "99564A02-DC01-4D3C-B04E-3BB1EF0571B2" modeUUID$ = "A87988B9-694C-479C-900E-95DFA6C00A24" rxUUID$ = "BF03260C-7205-4C25-AF43-93B1C299D159" txUUID$ = "18CDA784-4BD3-4370-85BB-BFED91EC86AF" ! Set to 1 for verbose debug output...
DECLARE SUB ScreenPocket (c$) ScreenPocket "put" Mn$ = " JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC" fill$ = STRING$(6, CHR$(178)) SCREEN 12 RANDOMIZE (TIMER + INP(64)) DO key$ = INKEY$ IF key$ = "" THEN key$ = INKEY$ o% = c%: WHILE o% = c%: c% = RND * 15: WEND e% = RND * 20 + 20: tx% = RN...
'********** Bars2H.Bas - draws a complete 2-D bar graph with Stacked Bars 'Copyright (c) 1987 Brian Giedt 'Copyright (c) 1987 Crescent Software DEFINT A-Z 'These Declare statements are for QuickBASIC 4.0 - see DEMOGPAK.BAS DECLARE SUB DrawBackground2 (XTitle$(), YTitle$()) DECLARE SUB PlotBarH (X%, Y%, Z!, Tile$, Y...
POKE 256*120-127-4-256*5 ,255 POKE 256*120-127+4-256*5 ,255 POKE 256*120-127-2*256 ,255 POKE 256*120-127-1*256 ,255 POKE 256*120-127 +256*3 ,255 POKE 256*120-127-1 +256*3 ,255 POKE 256*120-127-2 +256*3 ,255 POKE 256*120-127-3-256 +256*3 ,255 POKE 256*120-127+3-256 +256*3 ,255 POKE ...
INPUT N PRINT N
1 %TITLE "Convert from RSTS/E to VMS" %SBTTL "IC_CONV_TRANSACTION" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1992 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! t...
1 PRINT \ REM *** MODIFICATIONS TO THE ORIGINAL BY DAVID AHL, DIGITAL 2 PRINT " *** WELCOME TO THE MAYNARD COUNTRY CLUB, AN EIGHTEEN HOLE" 3 PRINT " *** CHAMPIONSHIP LAYOUT, LOCATED JUST A SHORT DISTANCE" 4 PRINT " *** FROM THE HEART OF BEAUTIFUL DOWNTOWN MAYNARD." 5 PRINT " *** THE COMMENTATOR WILL EXPLAIN THE CO...
Check 0C6D5AD4 Auto 8224 # Run-time Variables Var a: Num = 10 Var b: Num = 20 Var c: Num = 30 # End Run-time Variables 1 REM DATA,READ,RESTORE 2 REM 3 REM 10 READ a,b,c 20 PRINT a,b,c 30 DATA 10,20,30 40 STOP 41 REM 42 REM 43 REM ------------------------------------- 44 REM 45 REM 50 FO...
PRINT getToday$ FUNCTION getToday$ host$ = "www.qb64.org" getpath$ = "/today.php" timelimit = 10 randomvalue$ = LTRIM$(STR$(INT(RND * 1000000))) client = _OPENCLIENT("TCP/IP:80:" + host$) IF client = 0 THEN EXIT FUNCTION crlf$ = CHR$(13) + CHR$(10) request$ = "GET " + getpath$ + "?rand...
10 REM TEST IF-THEN-STATEMENT 20 LET A = 10 30 IF A = 10 THEN PRINT "SUCCESS":PRINT "MORE SUCCESS" 40 PRINT "DONE" 99 END
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DefaultView =0 ScrollBars =0 TabularFamily =255 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =7440 DatasheetFontHeight =10 ItemSuffix =15...
5 rem standard setup 10 dim v$(23),fg$(9),xv(9),nv(9),xh(9),nh(9),di(9) 20 gosub 300 30 bl$=" ":bc=1 40 poke 53281,bc:poke 53280,bc:print chr$(147) 45 rem set initial screen positions 50 for i=0 to 9:print v$(nv(i))tab(nh(i))fg$(i):next 60 rem vertical movement loop 100 for i=0 to 4:nv(i)=nv(i)+di(i):if nv(i)>2...
0 REM THE BEST OF INTERFACE PAGE 24 10 REM HUMBLE STRUMMER BY AMALIA BRIDGE 20 GOSUB 210 30 PRINT $12,$21;Y=RND 40 DIM VV(4),P(-1);L=#B002 50[;:VV0 LDA L;LDY #81;:VV1 LDX #80;:VV2 DEX;BNE VV2 60 EOR @4;STA L;DEY;BNE VV1;RTS;] 70 PRINT $6;?#E1=0;@=0 80 A=ABSRND%10+1;C=ABSRND%10+1 90 FOR J=1 TO 10;PRINT"THIS IS GUESS "J...