text
stringlengths
7
5.36M
input "What is your first name? "; firstName$ input "What is your last name? "; lastName$ let fullName$ = firstName$ + " " + lastName$ print "Your full name is "; fullName$
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault ScrollBars =2 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =7815 DatasheetFontHeight =10 ItemSuffix =18 Top =600 Right =9255 Bottom =2580 ...
10 LET A = 10 20 PRINT A 30 END
10 K=0:T0=0:T1=0 20 INPUT "INTEREST RATE (%) ",I2 30 J=I2/1200 40 INPUT "TERM IN MONTHS" ,N 50 D=1-(1+J)^-N 60 R=1000*J/D 70 P=9.9995E-03 80 F=R+P 90 F=(INT(F*100)/100) 100 PRINT "RATE PER $1000 = $", 110 PRINT %7F2,F 120 INPUT "AMOUNT OF MORTGAGE ",Z 130 INPUT "PAYMENT IF KNOWN, ELSE 0 ",B 140 IF B>0 THEN 190 150 B=(Z...
RANDOMIZE TIMER CLS LOCATE 1,10:?"INPUT #PASSES,#COMP,#SACKS,#INTS" INPUT PASS,COMP,SCKS,INTS 'PASS=537:COMP=324:SCKS=31:INTS=14 LOCATE 3,10:?"INPUT TYDS,SCKYD" NETPASS=PASS-SCKS-INTS INPUT TYDS,SCKYD 'TYDS=4112:SCKYD=186 PCOMP=COMP/NETPASS NETYD=TYDS-SCKYD PASSYD=NETYD/COMP LONG=(NETYD/PCOMP-(PASSYD-1.5)*N...
RANDOMIZE TIMER CLS PRINT " █▀▀▀▄ █▀▀▀▀ █▀▀▀▄ " PRINT " █ █ █▄▄▄ █▄▄▄▀ " PRINT " █ █ █ █ ▀▄ " PRINT " ▀▀▀▀ ▀▀▀▀▀ ▀ ▀ " PR...
1 CW=5:CG=30:CP=156:GOTO 5 2 POKE 781,RO:POKE 782,CO:POKE 783,0:SYS 65520:RETURN 5 POKE 53281,0 10 PRINT CHR$(147); 14 RO = 3: CO = 13: GOSUB 2 15 PRINT CHR$(CW);"* ROAD RACE *"; 16 RO = 4: CO = 11: GOSUB 2 17 PRINT "< & > KEYS TO MOVE"; 20 X = 16: W = 8: SW = 39: RD = 32: SH = 160: GR = 166: P = 19: DL = 5: OL = 5 21 ...
10 :REM'COAXTRAP - Antenna Trap Design - 31 JAN 94 rev. 29 AUG 09 20 IF EX$=""THEN EX$="EXIT" 30 CLS:KEY OFF 40 UL$=STRING$(80,205) 50 ER$=STRING$(80,32) 60 U$="####.###" 70 V$="####.##" 80 Q$=CHR$(34) 90 PI=3.1415929794311523! 100 LF=1/LOG(10) :REM'log conversion to base 10 110 DIM C$(42,9) :REM'coax specs. 120 :RE...
DECLARE SUB Tower () DECLARE SUB TradeShield () DECLARE SUB TradeWeapon () DECLARE SUB Galactron () DECLARE SUB WaterWorld () DECLARE SUB PreCivilization () DECLARE SUB IcePlanet () DECLARE SUB AlienShip () DECLARE SUB MonstGet () DECLARE SUB QB.COLOR (Fg%, Bg%) DECLARE SUB QB.CLS (a%) DECLARE SUB pipe (text$, x!) DECL...
1 LET X = 1 2 PRINT "BASIC no tiene constantes" 3 END
Auto 0 10 LET address=32768 20 READ a: IF a<>65535 THEN POKE address,a: LET address=address+1: GO TO 20 30 DATA 33,255,87,14,192,6,32,183,203,22,43,16,251,13,32,245,201 40 DATA 65535 45 REM fast 46 DIM b(8) 50 LET s$="... \*2004 Dave's Scrollys Ltd... " 60 FOR l=1 TO LEN (s$) 70 LET Address...
10 rem ** global variables 20 tc = 0 : rem operation count 30 dim tm$(255) : rem table of mnemonic 40 dim tb%(255) : rem table of binary values 50 dim ts%(255) : rem table of sizes 60 ca = 49152 : rem current address 100 rem ** read in the instruction table 110 read tm$(tc) 120 if tm$(tc) = "x" then 200 130 read tb%(t...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault ...
Operation =1 Option =0 Begin InputTables Name ="qryTaskCategory" End Begin OutputColumns Expression ="qryTaskCategory.ID" Expression ="qryTaskCategory.TaskCategory" End Begin OrderBy Expression ="qryTaskCategory.ID" Flag =0 End dbBoolean "ReturnsRecords" ="-1" dbInteger "ODBCTimeout" ="60" dbByte "...
Attribute VB_Name = "OPTIM_UNIVAR_ZERO_LIBR" Option Explicit 'Requires that all variables to be declared explicitly. Option Base 1 'The "Option Base" statement allows to specify 0 or 1 as the 'default first index of arrays. Private Const PUB_EPSILON As Double = ...
PRINT PRINT" ÜÜÜÜÜÜÜÜÜÜ ÜÜÜÜÜÜÜÜÜÜÜÜÜÜ ÜÜÜÜÜÜ ÜÜÜÜÜÜ" PRINT" ÜÜÜÜÜÜÜÜÜÜ ÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜ ÜÜÜÜÜÜÜ ÜÜÜÜÜÜÜ" PRINT" ÜÜÜÜ ÜÜÜ ÜÜÜÜ ÜÜÜÜÜÜÜ ÜÜÜÜÜÜÜ" PRINT" ÜÜÜÜ ÜÜÜÜÜÜÜÜÜÜÜÜÜ ÜÜÜÜÜÜÜÜ ÜÜÜÜÜÜÜÜ" PRINT" ...
CLS DIM x AS INTEGER DIM y AS INTEGER INPUT "Masukan nilai x = "; x INPUT "Masukan nilai y = "; y FOR ulang = x TO y PRINT "Kamu mengulang tulisan ini sebanyak "; x - y NEXT END
10 mode 1 20 defint A-Z 30 c=1 40 RANDOMIZE TIME 50 s=RND*1024+1 70 i=1023 80 while i>0 90 i=i-1 100 if s<1001 then p=s-1 110 x=p mod 40+1 120 y= p\40+1 130 pen c 140 locate x,y:print ("#"); 160 c=(c mod 3)+1 170 l=s and 1 180 s=s\2 190 s=s XOR &240*l 200 wend 210 call&BB18
5 poke55,255:poke56,47 10 v=53248:co=54272:poke54296,15 12 fori=12*1024+256to12*1024+263:pokei,0:next 15 fori=0to47:reada:poke12*1024+i,a:next:pokev+22,peek(v+22)or16 20 pokev+24,28:pokev+34,2:pokev+35,7:pokev+33,0:pokev+32,0 25 fori=12352to12478:reada:pokei,a:next:pokev+37,2:pokev+38,7 30 pokev,75:pokev+16,0:pok...
CONST WINDOWSIZE = 0 CONST TITLESIZE = 0 CONST STARTX = 0 CONST STARTy = 0 + TITLESIZE CLS TYPE picture p AS STRING * 32 END TYPE DIM pic AS picture OPEN "pori" FOR RANDOM AS #3 LEN = LEN(pic) order = 1 SCREEN 12 CLS PAINT (1, 1), 2 numberofrecord = LOF(3) / 32 FOR I = 1 TO 32 'sero FOR k ...
5 REM +------------------------------------------------+ 10 REM | HACK.BAS (c) 19100 fr33 v4r14bl3z | 15 REM | | 20 REM | Brute-forces passwords on UM vIX.0 systems. | 25 REM | Compile with Qvickbasic VII.0 or later: ...
CLS PRINT "SerBbs Loading..." 'STARTUP***************************************************************** ON ERROR GOTO error1 OPEN "COM2:19200,N,8,1,CD0,CS0,DS0,OP0,RS,TB2048,RB2048" FOR RANDOM AS #1 OPEN "dirs.dat" FOR INPUT AS #2 INPUT #2, edituser$ INPUT #2, editdoor$ INPUT #2, editfile$ CLOSE #2 x = 3 RAN...
Attribute VB_Name = "TCP" Option Explicit Public Function DarCabezaNueva(ByVal UserIndex As Integer, _ ByRef NewHead As Integer) As Boolean '************************************************* 'Author: Miqueas 'Last modified: 19/05/2015 'otorga una nueva cab...
'_|_|_| SEETIME.BAS PUBLIC DOMAIN Kurt Kuzba (11/14/1998) '_|_|_| Display the current time by reading the BIOS clock. '_|_|_| No warrantee or guarantee given or implied. DEF SEG = &H40 CLS COLOR 15, 1 WHILE INKEY$ <> "": WEND WHILE INKEY$ = "" LOCATE 1, 1: t3% = PEEK(&H6E) AND 255 t2& = PEEK(...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault DefaultView =0 ScrollBars =0 ViewsAllowed =1 TabularCharSet =186 PictureAlignment =2 DatasheetGridlinesBehavior =...
10 PRINT "1: ";RND(1);RND(1);RND(0);RND(0);RND(1) 20 PRINT "2: ";RND(-2);RND(1);RND(1);RND(1) 30 PRINT "3: ";RND(-5);RND(1);RND(1);RND(1) 40 PRINT "4: ";RND(-2);RND(1);RND(1);RND(1)
10 CLS 20 FOR I = 1 TO 10 30 PRINT TAB(3); "INPUT DATA KE -"; I 40 PRINT STRING$(21, "=") 50 INPUT " NPM : ", NPM$(I) 60 INPUT " NAMA : ", NAMA$(I) 70 INPUT " KELAS : ", KELAS$(I) 80 INPUT " NILAI 1 : ", N1(I) 90 INPUT " NILAI 2 : ", N2(I) 100 INPUT " NILAI 3 : ", N3(I) ...
1 -> A Label Loop Print A A + 1 -> A If A < 10 Goto Loop
CLS SCREEN 12 Radius = 100 MitX = 100 MitY = 100 starttime = TIMER FOR A = 0 TO 360 STEP .5 PSET (MitX + (COS(A * .0174532) * Radius), MitY - SIN(A * .0174532) * Radius), 9 NEXT A stoptime = TIMER LOCATE 1, 1: PRINT stoptime - starttime starttime = TIMER FOR A = 1 TO 200 CIRCLE (400, 200), 100, 9 NEXT A stoptime...
Operation =1 Option =0 Where ="(((dbo_ProjectHeader.Void)=False))" Begin InputTables Name ="dbo_ProjectHeader" Name ="dbo_ContactGeneral" End Begin OutputColumns Expression ="dbo_ProjectHeader.ID" Expression ="dbo_ProjectHeader.DocketNum" Expression ="dbo_ProjectHeader.InvoiceNum" Expression ="...
DECLARE SUB Palette256 () RANDOMIZE TIMER SCREEN 13 'RndPixelColors256 Palette256 'Pause SUB Palette256 FOR y = 0 TO 15 FOR x = 0 TO 15 'PSET (x, y), y * 16 + x LINE (8 * x, 8 * y)-(8 * x + 8, 8 * y + 8), y * 16 + x, BF NEXT x NEXT y END SUB SUB Pause DO LOOP U...
DECLARE FUNCTION RTBIS! (DUM!, X1!, X2!, XACC!) DECLARE FUNCTION FUNC! (X!) FUNCTION RTBIS (DUM, X1, X2, XACC) JMAX = 40 FMID = FUNC(X2) F = FUNC(X1) IF F * FMID >= 0! THEN PRINT "Root must be bracketed for bisection." EXIT FUNCTION END IF IF F < 0! THEN TRTBIS = X1 DX = X2 - X1 ELSE TRTBIS = ...
DECLARE SUB TRAPZD (DUM!, A!, B!, S!, N!) SUB QSIMP (DUM, A, B, S) EPS = .000001 JMAX = 20 OST = -1E+30 OS = -1E+30 FOR J = 1 TO JMAX CALL TRAPZD(DUM, A, B, ST, J) S = (4! * ST - OST) / 3! IF ABS(S - OS) < EPS * ABS(OS) THEN EXIT SUB OS = S OST = ST NEXT J PRINT "Too many steps." END SUB
Attribute VB_Name = "FINAN_ASSET_TA_GROENKES_LIBR" Option Explicit 'Requires that all variables to be declared explicitly. Option Base 1 'The "Option Base" statement allows to specify 0 or 1 as the 'default first index of arrays. '///////////////////////////////////...
DECLARE SUB Conv (D%, Nb%) ' ' *** SHARE_EX.BAS - Programma esempio per l'istruzione SHARED ' DEFINT A-Z DO INPUT "Numero in base decimale (digitare un numero <= 0 per uscire): ", Dec IF Dec <= 0 THEN EXIT DO INPUT "Nuova base (un numero > 1): ", NuovaBase N$ = "" PRINT Dec; "in base 10 Š ugual...
1 CLOSE 1:COLOR 7,0:CLS 2 ON ERROR GOTO 25000 5 KEY OFF 6 KEY 3,"":KEY 4,"":KEY 5,"":KEY 6,"":KEY 7,"":KEY 8,"":KEY 9,"":KEY 10,"" 10 REM ************************************************************************ 20 REM *** (C) by KOELLIKER AG SPITALORGANISATION S C H W E I Z *** 30 REM ****************...
'****************************************************************************** '* * '* BowDitch Curve / Lissajous Figure Pendulum: Version #2 * '* * ...
'function declarations DECLARE FUNCTION byteSum# (a$) 'error handler ON ERROR GOTO errs 'main CLS COLOR 15 PRINT "File Byte Sum" COLOR 7 PRINT "-------------" PRINT COLOR 14 'get file details INPUT "File"; file$ 'verify it exists OPEN "I", #1, file$ CLOSE #1 'open for byte sum OPEN "B", #1, file$ 'get file lengt...
1 %TITLE "Asset Account Table" %SBTTL "AD_RPRT_ACCOUNT" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1986 BY ! ! Computer Management Center ! 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 inclusion of t...
10 REM *** GALACTI-CUBE *** 20 REM R. J. BISHOP 30 DIM BOX(27), QUE(27), NODE(6), BIT(6), A$(5) 40 GOSUB 9000 50 GOSUB 1000 60 VTAB 23: TAB 5: PRINT "(HIT ANY KEY TO START THE GAME) "; 70 GOSUB 4000: GOSUB 5000 90 LOC=14: OLD=LOC: FUEL=40 100 REM MAIN LOOP 110 GOSUB 2000 150 CALL -936: PRINT : PRINT : PRINT " COMMAND...
1 COMMON A, AL, B, BASEONLY, C, C$, C1, CAT$, CC, CKT$, D, D$, DD, DIA, DIMN$, DMS, E, EO, EX$, F, F$, FD, FF, FQ, FRQ, G$, GO$, I, I$, L, LATLONG, LD, LL, LN, LS, LW, LX, MAX, MENU, MIN, MX, N, NN, NT, OV, P, PI, PROG$, Q, QQ, QU, R, RA, RC, T, T$, U, U$, UH, UL$, V$, VC, W, WHIP, WIRD, WW, X, X$, X1, XS, Z$, ZP, ZS 5...
1 %TITLE "Read Record from Register Order File" %SBTTL "OE_READ_REGHEADER" %IDENT "V3.6a Calico" FUNCTION LONG OE_READ_REGHEADER( STRING ORDER, & OE_REGHEADER_CDD OE_REGHEADER_READ) ! ! COPYRIGHT (C) 1987, 1988 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho ! ! This software is furnished und...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowEdits = NotDefault Sc...
'***************************************************************** '*********** ARRAKIS RUNME FILE FOR RUNNING MENU/GAME ************ '***************************************************************** 'COPYRIGHTED BY STEFAN HENDRIKS 'DO NEVER CHANGE THE CODE WITHOUT PERMISSION 'DO NEVER CHANGE THE CODE UNLESS YOU KNOW ...
Version =20 VersionRequired =20 PublishOption =1 Checksum =272591345 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault OrderByOn = NotDefault AllowDesignChanges = NotDefault ScrollBars =2 PictureAlignment =2 ...
10 G = 6 20 N = 100 30 REM-TRAP 40 REM-STEVE ULLMAN, 8-1-72 50 PRINT "WANT INSTRUCTIONS (1 FOR YES)" 60 INPUT Z 70 IF Z<>1 THEN 180 80 PRINT "I AM THINKING OF A NUMBER BETWEEN 1 AND";N 90 PRINT "TRY TO GUESS MY NUMBER. ON EACH GUESS," 100 PRINT "YOU ARE TO ENTER 2 NUMBERS, TRYING TO TRAP" 110 PRINT "MY NUMBER BETWEEN ...
20 DIM Z(4) 30 DATA 2, 7, 3, 1 40 READ Z(0), Z(1), Z(2), Z(3) 50 FOR I=0 TO 3 60 FOR J=I TO 3 70 IF Z(I) <= Z(J) THEN 110 80 LET T = Z(I) 90 LET Z(I) = Z(J) 100 LET Z(J) = T 110 NEXT J 120 NEXT I 130 FOR K=0 TO 3 140 PRINT Z(K) 150 NEXT K 160 END
1 rem gra-ext gliding lines 2 rem 2015-09-15 johann+c64@klasek.at 10 deffnr(x)=int(rnd(1)*x) 11 ifpeek(49153)+peek(49154)<>21thenload"ge",8,1 12 ifpeek(49153)+peek(49154)=21thensys49152 50 r=rnd(-ti) 100 &g 1,13,0:poke53280,15 105 &s 2 150 z=0:ym=199:xm=319 160 l=40:s=9 170 dimx0(l),x1(l),...
DECLARE SUB Claxon (Alt%, Bas%) DECLARE SUB Rimbalzi (Alt%, Bas%) DECLARE SUB Caduta (Alt%, Bas%, Rit%) DECLARE SUB Sirena (Alt%, Interv%) DEFINT A-Z ' Versione QB2 del programma dimostrativo degli effetti sonori ' (funziona con la maggior parte dei compiler di BASIC) ' Menu effetti sonori WHILE Q$ <> "U" ...
'********** DEMOBACK.BAS - demonstrates the CW Shop backup subprogram 'Written by Phil Weber 'Copyright (c) 1992 Crescent Software, Inc. 'Compile and link as follows: ' ' bc demoback /o; ' bc backup /o /ah; ' link demoback backup , , nul, cwshop ; DEFINT A-Z DECLARE SUB CWBackup (FileSpec$, Dest$, Recurse, E...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =15435 DatasheetFontHeight =10 ItemSuffix =32 Left =5100 Top =3195 Right =20535 Bottom =7470 ...
DECLARE SUB fontput (z1%, y1%, in$, c%) DECLARE SUB fontput1 (z1%, y1%, in$, c%) DECLARE SUB fontput2 (z1%, y1%, in$, c%) RANDOMIZE TIMER SCREEN 12 CLS PAINT (1, 1), 1 fontput 0, 0, "The old algorithm...", 2 fontput 258, 8, "FontPut Demo", 0 fontput 260, 10, "FontPut Demo", 15 fontput 20, 30, "I dont expe...
Attribute VB_Name = "PageFunctions" Option Explicit Private Declare Sub clearline_LoadPVD_Data Lib "Clearline.dll" (ByVal FileName As String, _ ByVal PVDataStartAddress As Long, _ ByVal...
Attribute VB_Name = "MOD_Permissions" Option Explicit Public Enum MainPerms Change_Pricing_Group = 1 Enter_Sale = 2 Reboot_Client = 3 Reboot_All = 4 Shutdown_Client = 5 Shutdown_All_Clients = 6 End_Session = 7 End_all_Sessions = 8 Set_To_Windows = 9 Lock_Unlock_Client...
OPEN "data.omg" FOR INPUT AS #1 INPUT #1, TimeTravel INPUT #1, Lives INPUT #1, BioEng INPUT #1, BioEng2 INPUT #1, BioEng3 INPUT #1, Boom INPUT #1, LowTroub INPUT #1, HighTroub INPUT #1, Idiot INPUT #1, Find INPUT #1, Erased INPUT #1, Dna$ INPUT #1, Strand$ INPUT #1, Dna1 INPUT #1, DNAo$ INPUT #1, Strando$ INPUT #1, Dna...
5 REM Taken from Usborne's 1982 book 6 REM "Computer Battlegames" 10 PRINT "DESERT TANK BATTLE" 20 LET T=INT(RND(1)*181)-90 30 LET D=RND(1) 40 FOR G=1 TO 5 50 PRINT "DIRECTION (-90 TO 90) ?" 60 INPUT T1 70 PRINT "ELEVATION (0 TO 90) ?" 80 INPUT B 90 LET D1=SIN(2*(B/180*3.1416)) 91 PRINT D,D1 100 IF ABS(T-T1)<2 ...
1 INIT 2 SET KEY 3 GO TO 100 4 P=P+0.2 MIN 3 5 RETURN 8 P=P-0.2 MAX 0 9 RETURN 16 B=0 17 RETURN 20 B=1 21 IF B=1 THEN 21 22 RETURN 24 P2=P2-A1 MAX -A2 25 P9=P9-0.2 MAX -3 26 RETURN 28 P2=P2+A1 MIN A2 29 P9=P9+0.2 MIN 3 30 RETURN 36 F=15 37 RETURN 40 SET NOKEY 41 GO TO B4 OF 625,620 100 PAGE 101 F=15 105 B2=1...
'$STATIC OPTION BASE 0 'Declare all subs and functions DEFINT A-Z DECLARE SUB EditMusic () DECLARE SUB EditContents () DECLARE SUB MoveSpecial () DECLARE SUB SetRomSpecials () DECLARE SUB SpecRefresh () DECLARE SUB SpecRedraw () DECLARE SUB EditSpecials () DECLARE FUNCTION Strim$ (t%) DECLARE SUB EdRedraw () DECLARE SU...
10 REM == RAM/ROM CHECKER == 20 REM 'RUN' to probe for RAM and not-RAM 30 REM 'RUN 1000' to copy ROM to RAM and switch to RAM 40 REM Full test: 'RUN' 'RUN 1000' 'RUN' 100 REM == Check memory chunks == 110 FOR M=0 TO 63 STEP 8 120 R = M * 1024 130 IF M < 32 GOTO 150 140 R = R - (64*1024) 150 PRINT "Memory at " ; ...
'_|_|_| FAKEDOS.BAS '_|_|_| A silly little security program for DOS users. '_|_|_| If ANSI.SYS is not installed, then the changing of '_|_|_| colors using output to CONS: is not necessary '_|_|_| No guarantee or warrantee given or implied. '_|_|_| PUBLIC DOMAIN by Kurt Kuzba (10/26/1997) DECLARE F...
DECLARE SUB MNSJF () DECLARE SUB pause () DECLARE SUB ym () DECLARE SUB pl () DECLARE SUB sg () DECLARE SUB sd () DECLARE SUB yq () DECLARE SUB d16 (char$, xx!, xy!, xc!) RANDOMIZE TIMER start: CLS CALL d16(" 电脑小家教 版本:1.00 制作:谢继雷", 8, 0, INT(RND * 14) + 1) CALL d16(" (C)COPYRIGHT 1997,1998", 8,...
CHDIR ".\samples\qb45com\action\arcdemo" rem No Tittle screen 12 print "It`s great demo of my VIRTUAL SCREEN engene" print "Press Q/A/O/P/M to move your soldier " print "This program written by Tsiplacov Sergey" print "For best work, you need at least 486DX processor" print "and FirstBasic Compiler." print pr...
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 Sub HTML_Table_To_Excel() Dim htm As Object Dim Tr As Object Dim Td As Object Dim Tab1 As Object 'Replace the URL of the webpage that you want to download Web_URL = VBA.Trim(S...
' Cosmo fight for FreeBasic QB console setting ' web: http://rudih.info oldhi = 0 ' title menu menu: COLOR 10, 0 CLS LOCATE 8, 31 PRINT "---COSMO FIGHT---" LOCATE 10, 10 PRINT "Use arrow keys to move, & space to shoot." LOCATE 11, 10 PRINT "1,2,3 for speeds. <Esc> to quit." IF score > oldhi THEN oldhi ...
' ******************************************************************** ' ' Fitxer....................: CLI_003.BAS ' Titol.....................: Modul per ordenar els clients. ' ' ******************************************************************** ' ' Data inici................: 26/07/1996 ' Data de la darrera revisi˘...
10 PRINT "WHAT IS YOUR SCREEN WIDTH" 20 INPUT W 30 LET P=15 40 LET R$="." 50 LET L$="," 60 CLS 70 PRINT 80 PRINT TAB(INT(W/2-9));"<<DOWNHILL RACER>>" 90 PRINT 100 PRINT "YOU ARE SKIING DOWN A SLALOM" 110 PRINT "RUN. PRESS ";L$;" TO GO" 120 PRINT "LEFT AND ";R$;" TO GO RIGHT" 130 PRINT "IF YOU GO OFF THE RUN, YOU" 140 P...
100 '* ************************************************************ * 110 '* gwdemo1.bas For GWBASIC * 120 '* * 130 '* GW.XGF was created by Exporting image as put file * 140 '* from Raster Master. ...
DECLARE SUB lauf (ric!, dreh!) DECLARE SUB bild () DECLARE SUB wahl (nr!, dreh!) DECLARE SUB block (x!, y!) DECLARE SUB zeigen (nr!) CLS DIM SHARED drehen$ DIM SHARED dreh dreh = 0 INPUT "Drehen <j/n>"; drehen$ CLS COLOR 15 DIM SHARED a(3) DIM SHARED x DIM SHARED y DIM SHARED lab(4, 4) FOR i = 0 TO 3: a...
' Q B a s i c G o r i l l a s ' ' Copyright (C) Microsoft Corporation 1990 ' ' Your mission is to hit your opponent with the exploding banana ' by varying the angle and power of your throw, taking into account ' wind speed, gravity, and the city skyline. ' ' Speed of ...
REM File: .bas REM Data: REM Programmer: Yuriy Lomako REM Description: REM ------------------------------------------------------------------- CLS 10 x = 0 20 s = 3 * x 30 PRINT "3*"; x; "="; s 40 x = x + 1 50 GOTO 20
2R(DlLd||p@p BD||ll0($ 1000 ! TREK.BAS 27-JUL-73 ARON K. INSINGA PROJECT DELTA 1060 DIM R(9%),D$(6%),D%(6%),G%(8%,8%),Q%(8%,8%),K%(9%,3%) 1070 MAT READ D$,R:MAT D%=ZER:RANDOMIZE 1080 DATA "WARP ENGINES", "S.R. SENSORS", "L.R. SENSORS" 1090 DATA "PHASER CNTRL", "PHOTON TUBES", "DAMAGE CNTRL" 1100 DATA .0001, .01...
DECLARE SUB torno () SUB torno CLS SCREEN 13 FOR radius = 32 TO 132 STEP 1 SOUND radius + 100, .1 CIRCLE (160, 100), radius - 31, radius CIRCLE (161, 100), radius - 31, radius NEXT radius FOR radius = 132 TO 32 STEP -1 SOUND radius + 200, .1 CIRCLE (160, 100), radius - 1, 0 CIRCLE (161, 100), radius - 1, ...
1 gosub 1000 5 print"scratching files...":open1,8,15,"s:test*":close1 6 inputa$,b$:printa$,b$:gosub 1000 10 print"writing...":open1,8,10,"test2,seq,w":a=65.331 15 print#1,"troet","yeah";tab(5);"5";spc(5);"5":print#1,chr$(111);spc(3),a 20 close1:print"done!";spc(5);"!":gosub 1000 21 open1,8,10,"testnum,seq,w":print#1,12...
10 for c=1 to 15 20 color c 30 ?"x" 40 next
SCREEN 12 COLOR 1 FOR x = 1 TO 640 IF y < 480 AND y > 0 THEN PSET (x, 480 - ((200 * TAN(x * (3.141592653589793# / 180)) + 240))) NEXT x
PRINT "Hello", "world!"
10 PRINT TAB(33);"WAR" 20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 30 PRINT: PRINT: PRINT 100 PRINT "THIS IS THE CARD GAME OF WAR. EACH CARD IS GIVEN BY SUIT-#" 110 PRINT "AS S-7 FOR SPADE 7. "; 120 PRINT "DO YOU WANT DIRECTIONS"; 130 INPUT B$ 140 IF B$="NO" THEN 210 150 IF B$="YES" THEN 180 160 PRI...
import lib-ssh-agent # Source SSH settings, if applicable if [ -f "${SSH_ENV}" ]; then . "${SSH_ENV}" > /dev/null #ps ${SSH_AGENT_PID} doesn't work under cywgin ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || { sshagentstart; } else sshagentstart; fi sshagentls
10 REM ## SOLUCAO NAO RECURSIVA PARA 'TORRES DE HANOI' ## 20 HOME 30 DEF FN PP(P) = P + 1 - 3 * ABS (P = 2): REM CALCULA O NUMERO DO PROXIMO PINO. 100 GOSUB 1000: REM INICIALIZA PINOS. 110 GOSUB 2000: REM EXIBE PINOS. 120 GOSUB 3000: REM RESOLVE. 999 END 1000 REM ## INICIALIZA PINOS ## 1010 Q = 10: REM QUANTI...
class CAboutDlg base; CDialog; public mf; none; CAboutDlg; public mf; void; DoDataExchange; protected *** class CChildFrame base; CMDIChildWnd; public mf; none; CChildFrame; public mf; none; ~CChildFrame; public mf; BOOL; PreCreateWindow; public mf; void; AssertValid; public mf; void; Dump; public ...
Version =20 VersionRequired =20 Begin Form AllowFilters = NotDefault PopUp = NotDefault RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault DefaultView =0 ScrollBar...
Version =20 VersionRequired =20 PublishOption =1 Checksum =-1636314120 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ScrollBars =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 Gri...
1 %TITLE "Employee Overtime Report" %SBTTL "PR_RPRT_OVERTIME" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1986, 1988 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 ! ...
10 A=3:B=1:P=1:CLS 20 INPUT "KAC SECENEKLI ";N:DIM S$(N) 30 FOR I=1 TO N 40 PRINT I ;".SECENEK ";:INPUT S$(I): K=LEN(S$(I)) 50 IF P<K THEN P=K 60 NEXT I 61 FOR J=1 TO N 62 IF LEN(S$(J))<P THEN S$(J)=S$(J)+STRING$(P-LEN(S$(J))," ") 63 NEXT J 70 COLOR 7,0:CLS 80 LOCATE 5,5:PRINT "RENKLER:" 90 FOR I=1 TO 16 10...
1 %TITLE "Register Maintenance" %SBTTL "MO_MAST_REGISTER" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1991 BY ! ! Computer Management Center ! 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 inclusion of...
PRINT "Hello and welcome to the number guessing game. Type 1 for easy mode, where you have to guess a number between 1 and 5. Type 2 for medium, where you guess a number between 1 and 10, and type 3 for hard mode, a number between 1 and 100." INPUT GAME_MODE IF GAME_MODE = 2 THEN WINNING_VALUE = RND WINNING_VALUE = ...
atom=H contraction shell=S num_primitives=1 num_coefficients=1 0.45000000E+02 1.0000000 contraction shell=S num_primitives=1 num_coefficients=1 0.75000000E+01 1.0000000 contraction shell=S num_primitives=1 num_coefficients=1 0.30000000E+00 1.0000000 contraction shell=SP num_primitives=1 num_coefficients=2 0.15000000E+0...
10 REM THIS IS PROGRAM NO. 27 PROG27 12 REM THIS PROGRAM ALLOWS YOU TO 13 REM DESIGN SIMPLE ZENER DIODE 14 REM VOLTAGE REGULATOR CIRCUITS 20 VZ = 0 30 MIN = 0 40 MAX = 0 50 I = 0 55 V = 0 60 PD = 0 65 R = 0 70 PRMIN = 0 75 IMAX = 0 80 H = 0 130 GOSUB 770 140 PRINT "THIS PROGRAM IS A DESIGN AID" 145 PRINT "FOR ZENER DIO...
42 DEFINT x,z,m,p,y:RESTORE:DIM N$(32),E$(32),L(32),A$(30),B$(30),M(60,6),V$(22):V$(21)="put":A=0:C=0:CT=0:H=380:I=0:L=10:LT=0:N=0:Q=0:S=0:SI=0:V=0:X=0:Y=0:Z=0:FOR X=1 TO 30:READ N$(X):NEXT X:A$(24)="troll" 50 A$(25)="oracle":FOR X=1 TO 30:READ E$(X):NEXT X:B$(24)="gomar":B$(25)="time":FOR X=1 TO 30:READ L(X):NEXT X:A$...
10 DEFINT N,I,Y,L:INPUT N:DIM A(N):X=RND(-TIME) 20 FOR I=1 TO N:A(I)=INT(20*RND(1)-10):PRINTA(I);:NEXT:PRINT:IF N=1 THEN PRINT "Один-одинешенек!":END 70 FOR Y=1 TO N-1:FOR L=Y+1 TO N 80 IF A(Y)<A(L) THEN 90 ELSE SWAP A(Y),A(L) 90 NEXT:NEXT 95 U=1 100 FOR I=1 TO N-1 110 IF A(I)<>A(I+1) THEN U=U+1:NEXT I ELSE NEXT...
#SAMPLE----3 LAYERS, 3 ROWS, 5 COLUMNS; STEADY STATE; CONSTANT HEADS COLUMN 1 #LAYERS 1 AND 2; RECHARGE, WELLS AND DRAINS FREE UNSTRUCTURED INTERNAL 1 (5I4) 3 IBOUND layer 1 -1 1 1 1 1 -1 1 1 1 1 -1 1 1 1 1 INTERNAL 1 (5I4) 3 IBOUND layer 2 -1 1 1 1 1 ...
10 rem ascii string output routine 20 code = 49152 30 for loop = 0 to 26 40 read byte 50 poke code + loop,byte 60 next loop 70 rem 80 rem m/c data 90 data 104 : rem $68 - pla 100 data 133,251 : rem $85,$fb - sta $fb 120 data 104 : rem $68 ...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ScrollBars =0 TabularFamily =5 PictureAlignment =2 DatasheetGridlinesBehavior =...
'********* GetVideo.Bas - determines monitor type, declares Shared variables 'Copyright (c) 1990 Brian Giedt DEFINT A-Z '$INCLUDE: 'Common.GW' REDIM SHARED Font$(0, 0), FontWidth%(0, 0), FontHeight%(0) REDIM SHARED OutLineFont$(0, 0), FontSize%(0, 0), OutLineHeight%(0) REDIM SHARED Tile$(0), AltTile$(0)...
10 '************************ 20 '* * 30 '* SOUND PROGRAM * 40 '* * 50 '* (j.w.l) * 60 '* * 70 '************************ 80 CLS 90 ON KEY(14) GOSUB 520 100 KEY(14) ON 110 PRINT" Press "CHR$(25)" to stop it !!":PRINT 120 PRINT...
10 SCREEN 0 20 print"number of balls (1-255)?" 30 input n 40 if n<1 or n>255 then 20 60 print chr$(147); 70 dim bx(255):dim by(255):dim bc(255) 75 dim dx(255):dim dy(255) 80 for b=0ton 90 bx(b)=int(rnd(1)*40) 100 by(b)=int(rnd(1)*30) 105 bc(b)=int(rnd(1)*14)+1 106 dx(b)=int(rnd(1)*2) 108 rem dy(b)=int(rnd(1...
100 OPEN "RDATA.DAT" AS #1 110 FIELD #1, 2 AS A$, 4 AS B$, 8 AS C$ 120 A%=987:A!=123.456:A#=1234567891234# 130 LSET A$=MKI$(A%) 140 LSET B$=MKS$(A!) 150 LSET C$=MKD$(A#) 160 PUT #1 170 PRINT "ºÉ ÌßÛ¸Þ×Ñ ÃÞ ¶·ºÑ ÃÞ°À Ê" 180 PRINT "Â·Þ É ÌßÛ¸Þ×Ñ ÃÞ ÖÐÀ޾Ͻ" 190 CLOSE:END
'********** SetAttr.Bas - sets a file's attributes 'Copyright (c) 1987 Ethan Winer DEFINT A-Z CLS 'Attr% = 1 for Read-Only, 2 for Hidden, 32 for Archive, or 0 for No Archive Table$ = CHR$(1) + CHR$(2) + CHR$(32) + CHR$(0) 'table of attributes LINE INPUT "File Spec: "; F$ PRINT "Read-Only, Hidden, Archive, No Arc...
'********** ONKEY.BAS - shows how to simulate ON KEY in a QuickBASIC program 'Copyright (c) 1989 Crescent Software 'This program will not work in the QuickBASIC editing environment, because 'the very concept of PointIntHere cannot work in the QB P-code interpreter. DEFINT A-Z '$INCLUDE: 'PDQDECL.BAS' DIM Registers...
CLS b = 4 100 GOSUB 1000 110 GOSUB 2000 120 a = (b * c) / d PRINT a END 1000 c = SQR(b) 1010 RETURN 2000 d = b + b 2010 RETURN