text
stringlengths
7
5.36M
'#MMDEBUG ON '#DEFINE "DBG ", "" #DEFINE "DBG ", "'" OPTION DEFAULT NONE OPTION EXPLICIT OPTION BASE 0 OPTION CRLF LF OPTION BREAK 0 DBG OPTION BREAK 3 'SimpleEd CONST VERSION.SE = "0.42" CONST MIN_GRF.SE = "0.11" CONST ZERO.SE = CHR$(0) DIM STRING CWD.SE = MM.INFO$(PATH) CHDIR CWD.SE DIM STR...
'$include:'../../p5js.bas' FUNCTION p5setup () 'Syntax :- p5bezier startX%, startY%, controlPointX1%, controlPointY1%, controlPointX2%, controlPointY2%, endX%. endY% strokeB 255 noFill END FUNCTION FUNCTION p5draw () STATIC backgroundB 51 IF radius <= 0 THEN radius = 20 theStep = .5 size...
' ////////////////////////////////////////////////////////////////////////// ' ' Get MP3v1 Tag 1.1 ' ' Main application program. ' ' Functions: ' ReadLine ' ' History (Legend: > Info, ! Fix, + New, - Removed): ' 1.0 8/13/2001 > Initial release. ' 1.1 9/30/2001 > Cleaned up code. ' ...
DEFINT A-Z ' Declare Subs ' Declare Variables $EXEICON: 'cws.ico' _ICON _TITLE "VGA Civil War Strategy Game" replay = 0 newgame: pcode = 0: rflag = 0 FOR k = 1 TO 40: armysize(k) = 0: armyloc(k) = 0: armymove(k) = 0: armylead(k) = 0: armyname$(k) = "": NEXT k usadv = 0: emancipate = 0 FOR k = 1 TO 2 navysize(k) = 0: ...
SUB f(x) LET a$ = "Yes" LET y = x LET f = 3.1415 END SUB SUB h$(x$, y) LET a$ = "Ok" END SUB SUB Main LET a$ = "Yes" & "?" PRINT a$ END SUB SUB p$(a$, b$, c$) LET d$ = "D" LET e$ = "E" LET p$ = "P" END SUB
10 PRINT "STRING TEST" 20 $="Exclusive character variableXX" 30 PRINT $ 40 PRINT LEN($) 50 PRINT MID(11) 55 PRINT "'";$;"'" 60 PRINT "'";MID(1,9);"'" 70 PRINT "'";MID(21,8);"'" 80 Z$="78963":PRINT VAL(Z$)
rem Text & Code Final Project rem Peter Miller & Jessica Prost rem Copyright 2019 bank 1 temp1 = temp1 ;setup set tv ntsc set kernel DPC+ set smartbranching on set optimization inlinerand set kernel_options collision(playfield,player1) goto Setup bank2 bank 2 temp1 = temp1 Setup tim...
10 :REM'OCFDIPOL - Off-Centre-Fed Dipole - 26 DEC 2001 20 CLS:KEY OFF 30 IF EX$=""THEN EX$="EXIT" 40 COMMON EX$,FRQ,ZP,ZS,PROG$ 50 COLOR 7,0,1 60 UL$=STRING$(80,205) 70 :REM' 80 :REM'.....title page 90 CLS 100 COLOR 15,2 110 PRINT " OFF-CENTRE FED DIPOLE"TAB(57)"by George Murphy VE3ERP "; 120 COLOR 1,0:PRINT STRING$(80...
10 print chr$(147);chr$(5) : rem clear screen and set text to white 20 v=10 : x=20 : dx=1 25 poke 53280,6 : poke 53281,12 30 poke 214,y : print : poke 211,x 40 print " ";chr$(113);" "; 50 x=x+dx 60 for t=1 to 5 : next t 70 if x<1 then dx=-dx 80 if x>36 then dx=-dx 90 goto 30
' Prelude for clipping: COLOR 15, 15 CLS FOR i = 1 TO 10000000: NEXT i FOR i = 1 TO 10000000: NEXT i FOR i = 1 TO 10000000: NEXT i FOR i = 1 TO 10000000: NEXT i FOR i = 1 TO 10000000: NEXT i FOR i = 1 TO 10000000: NEXT i FOR i = 1 TO 10000000: NEXT i FOR i = 1 TO 10000000: NEXT i FOR i = 1 TO 10000000: NEXT i FOR i = 1...
100 REM OSISDOS READ DIR FROM SD CARD IN BASIC 110 SAVE:REM TURN ON LOGGING TO SERIAL PORT 120 REM SDCARD BASE ADDRESS = $F010 (61456 DEC) 130 DT=61456:ST=61457:A0=61458:A1=61459:A2=61460:REM SD I/F 140 DIM MA(512):REM ARRAY SPACE FOR SD CARD DATA 150 GOSUB 2200:REM CHECK CARD STATUS 160 REM READ FIRST LBA 170 ...
100 print tab(26);"inkblot" 105 print tab(20);"creative computing" 110 print tab(18);"morristown, new jersey" 115 print:print:print 120 rem *** works by plotting ellipses and their mirror images 130 dim a (12,13),b$(36),a$(36) 140 rem *** choose from 5 to 12 ellipses 150 m=int(8*rnd(1))+5 160 rem *** create size, locat...
10 CLS 20 X=0:Y=&HFFFE 30 PRINT" INTERRUPT VECTOR TABLE" 40 PRINT 50 PRINT" ADDRESS CONTENTS" 60 K=256*PEEK(Y-X)+PEEK(Y-X+1) 70 PRINT" ";HEX$(Y-X);"+";HEX$(Y-X+1);" ";HEX$(K) 80 X=X+2 90 IF X<14 THEN 60 100 END
10 READ A, B, D, E 15 LET G = A * E - B * D 20 IF G = 0 THEN GOTO 65 30 READ C, F 37 LET X = (C*F - B*F) / G 42 LET Y = (A*F - C*F) / G 55 PRINT X; Y 60 GOTO 30 65 PRINT "NO UNIQUE SOLUTION" 70 DATA 1, 2, 4 80 DATA 2, 7, 5 85 DATA 1, 3, 4, 7 90 END
Attribute VB_Name = "modPurchaseSold" Option Compare Database Option Explicit Private Const THIS_NAME As String = "modPurchaseSold" 'VGC 07/19/2017: CHANGES! '########################################## 'CURRENCY NOT YET FINISHED!! '########################################## ' ** Combo box column constan...
00 LET a = 5 01 DEF FN neg(n) = n * (-1) 02 LET y = 20 03 READ a, b, c 04 DATA 2, 5, 5 05 IF 7 > 2 THEN 06 06 DIM t(5) 07 LET a = 5 50 END
5 REM THIS PROGRAM IS A MODIFICATION OF A PROGRAM THAT WE DID BEFORE. 10 PRINT "TOTAL COST =$"; 20 DATA 2,.35,3,2.65,11,.25,1,9.49,35,1.59,0,0 21 REM THE DUMMY DATA IN THIS DATA LINE IS ^,^ 25 LET T=0 30 READ N,P 34 IF N=0 THEN 45 40 LET T=T+N*P 42 GOTO 30 45 PRINT T 70 END
100 COLOR 15,1,1: SCREEN 4,2,0: DEFINT A-Z: REM We use SCREEN 4 for tiles and MSX-2, 2=16*16 sprites, 0=key off 110 GOSUB 2000 200 X=50: Y=100 300 ON STICK(0) GOTO 310,320,330,340,350,360,370,380 305 GOTO 400 310 Y=Y-2: GOTO 400 320 Y=Y-2: X=X+2: GOTO 400 330 X=X+2: GOTO 400 340 Y=Y+2: X=X+2: GOTO 400 350 ...
1 'Example of LTRIM$ function 10 PRINT LTRIM$(" ONE TWO THREE")
10 'Michael Wass Tractor Pull Program 20 ' 30 '*********MAIN MODULE********** 40 REM 50 PRINT "WHAT CLASS ARE YOU IN" 60 PRINT "1=CLASS ONE 2=CLASS TWO 3=CLASS THREE" 70 PRINT 80 INPUT CLASS 90 CLS 100 ON CLASS GOSUB 1000 110 ON CLASS GOSUB 2000 120 ON CLASS GOSUB 3000 130 PRINT 140 INPUT "PRESS RETURN TO CONTINUE"...
Version =20 VersionRequired =20 PublishOption =1 Checksum =430251734 Begin Form PopUp = NotDefault RecordSelectors = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefa...
SCREEN 0 SCREEN 12 _TITLE "RPS" OPEN "rps\score.txt" FOR INPUT AS #1 INPUT #1, score CLOSE #1 OPEN "rps\cpu.txt" FOR INPUT AS #1 INPUT #1, cpu CLOSE #1 DO CLS LOCATE 2, 5 PRINT "Score:"; score LOCATE 3, 5 PRINT " CPU:"; cpu LOCATE 10, 2 PRINT "What would you like to do" LOCATE 11, 10 ...
REM Credit- Fred Galvin 5 P$="+CHR$(34):PRINT MID$(P$,35)+P$+P$'5 P$="+CHR$(34):PRINT MID$(P$,35)+P$+P$'5 P$="
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p. 10 'Dragon Curve between Two Points 20 'Name: DRAGON0 30 SCREEN 12, 0, 0, 0: CLS : pi = 3.141593 40 WINDOW (-.7, -1)-(1.7, .8) 45 COLOR 15: LOCATE 1, 1: PRINT "Dragon curve between two points" 50 p = 12: 'choice of order 60 h = 2 ^ (-p / 2): s = 0 7...
Attribute VB_Name = "Elliptics" ' ' 8888888888 888 888 d8b 888 d8b ' 888 888 888 Y8P 888 Y8P ' 888 888 888 888 ' 8888888 888 888 888 88888b. 888888 888 .d8888b .d8888b ' 888 888 888 888 888 "88b 888 888 d88P" 88K ' ...
CLS SCREEN 12 DRAW"C15TA0D10R8F2R3E2U15L7D15U10L8R2U2R5BR3D10BD1P6,15BL5P6,15BU10P8,15" 
10 LET N=2 20 LET S =0 30 LET S = S + N 40 PRINT N,S
100 SCREEN 1:CLS 110 GET DATE DT$ 120 C = 20:D = 31 130 Y = VAL(LEFT$(DT$,2)):YK = Y 140 M = VAL(MID$(DT$,4,2)):MK = M 150 IF M = 1 OR M = 2 THEN MK = M + 12:YK = Y - 1 160 IF YK < 0 THEN YK = 99:C = 19 170 H = (1 + ((26 * (MK + 1)) \ 10) + YK + (YK \ 4) + (5 * C + (C \ 4))) MOD 7 180 IF H = 0 THEN H = 6 ELSE H = H - 1...
DEFINT A-Z '$DYNAMIC DIM SHARED MoneyCarriers(0 TO 0)
1gosub6230 10print"{clear}":lvl=3:v=53248:pa$="{black}F-{light green}" 20dimwf$(3):rem vettori variabili interi1 e stringhe lupi 40i2=80:rem posizione iniziale y suino 50i3=8:rem delta y suino 60yf=(i2/8)-5:rem posizione iniziale freccia 62m4=0:rem paracadutisti scesi 70wf$(1)="{brown} r{light green}":wf$(2)="{...
Attribute VB_Name = "MMSOfficeAPI" ' ========================================================================== ' Module : MMSOfficeAPI ' Type : Module ' Description : Support for working with Office APIs ' -------------------------------------------------------------------------- ' Procedures : WindowHand...
10 PRINT "PROGRAM FILE 88: THE ON-GOTO-STATEMENT." 20 PRINT " ANSI STANDARD 10.2, 10.4" 30 PRINT 60 PRINT "SECTION 88.1: THE ON-GOTO EXPRESSION WITH INTEGER VALUES." 80 PRINT 90 PRINT " BEGIN TEST." 100 PRINT 120 LET N=0 130 FOR I=1 TO 5 140 REM 3RD DIGIT OF LINE NUMBER IS ITS POSITION ...
Auto 0 # Run-time Variables Var maxrand: Num = 10 Var rand: Num = 5 Var randomnumber: Num = 9 Var f: NumFOR = 11, 10, 1, 50, 2 Var z$: Str = "\#004\#005\#007\#008\#010" # End Run-time Variables 1 LET z$="" 3 GO SUB 10 4 PRINT randomnumber 5 GO TO 3 10 REM Random number 20 LET MaxRan...
REM Sample Power Basic program that calls OPT-TECH SORT DECLARE SUB SORTPB(STRING, STRING, STRING, INTEGER, INTEGER) $LINK "SORTPBI.OBJ" INFILE$ ="SAMP.DAT" OUTFILE$="SORTED.DAT" CTLSTMT$="S(1,10,C,A)" PRINT "CALLING OPT-TECH SORT..." CALL SORTPB(INFILE$,OUTFILE$,CTLSTMT$,NUMRECS%,RETCODE%) PRINT "BACK FROM OPT...
Attribute VB_Name = "modDirectX" Option Explicit 'Le code utilise pour l'alpha blending est modifie a partir 'du code de Matt Hafermann(http://www.rookscape.com/vbgaming/tutBT.php) Public Const TilesInSheets As Byte = 14 Public Declare Sub ZeroMemory Lib "kernel32.dll" Alias "RtlZeroMemory" (Destination As Any, ByVa...
REM @english REM GRAPHICS PRIMITIVES DRAWING SHAPES (4) REM REM This example will draw enclosed circles on the screen. REM REM @italian REM PRIMITIVE DI GRAFICA CON DISEGNO DI FORME (3) REM REM Questo esempio disegnerà cerchi concentrici sullo schermo. BITMAP ENABLE (160,200,16) CLS FOR i=0 TO ...
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...
10 vpoke1,1024,234:vpoke0,1024,234 20 for i=0to1 30 vpokei+1,1045+i,22 40 next
10 dim n$(4) 11 dim t$(4) 20 for l=0 to 4 30 read n$(l),t$(l) 40 next l 50 for l=0 to 4 60 print n$(l) 66 print t$(l) 70 next l 80 end 90 data peter,111-2222 100 data paul,222-3333 110 data mary,333-4444 120 data tom,444-5555 130 data susie,555-6666
'********* GetVideo.Bas - determines monitor type, declares Shared variables 'Copyright (c) 1987 Brian Giedt 'Copyright (c) 1987 Crescent Software 'use this block of Shared statements with QuickBASIC 2.0 and 3.0 'REDIM SHARED XaAspect#, XbAspect#, YaAspect#, YbAspect# 'use the COMMON.BAS include file with QB 4....
atom=Sc contraction shell=S num_primitives=4 num_coefficients=1 1.12900 0.035430 0.45120 -0.302476 0.07760 0.611806 0.03027 0.543082 contraction shell=D num_primitives=5 num_coefficients=1 12.230 0.053111 3.1510 0.233677 0.9874 0.425761 0.3482 0.398111 0.1256 0.239489 atom=Ti contraction shell=S num_primitives=4 num_co...
10 REM TEST CHAIN STATEMENT 20 LET A = 10 30 LET A$ = "HELLO" 90 CHAIN "DEMON" 99 END
' BREAKOUT remake | IchigoJam BASIC ' original by MASAHARU ( http://pcn.club/gallery/ ) ' renewed by Keiichi Shiga (BALLOON | FU-SEN) ' CC BY 4.0 - https://creativecommons.org/licenses/by/4.0/ 20 CLS:LET X,RND(17)*2+1 21 LET Y,23:LET Z,15 25 LET M,1:LET N,-1:LET S,0 26 LET T,0:LET U,1 31 LC 0,T:? CHR$(1); 32 LC 35,T:? ...
11 GRAPHICS 24 12 POKE 20,0 :POKE 19,0:POKE 20,0 13 SCREEN=PEEK(88)+256*PEEK(89) 14 FOR I=0 TO 31 15 FOR J=0 TO 239 16 POKE SCREEN+J,255 17 NEXT J 18 SCREEN=SCREEN+240 19 NEXT I 21 GRAPHICS 0 31 PRINT PEEK(19) 32 PRINT PEEK(20) 990 POKE 764,255 999 IF PEEK(764)=255 THEN 999
10 REM **** Rudimentary Mandelbrot Set Program v1.0 **** 20 REM **** by Geoff Pack. v1.0: 15 Nov 1996 **** 30 REM **** Created with MS-DOS QBasic Version 1.0 **** 40 REM **** Run initially on 286 monochrome laptop **** 50 REM **** Reference: Gleik, 1987 p.227, 231-232. **** 100 REM graphic mode 1: 320 x...
DECLARE SUB Help () DECLARE SUB alarm () DECLARE SUB noise () DECLARE SUB Clipboard () DECLARE SUB LoadDoc (d%) DECLARE SUB SaveDoc (d%) DECLARE SUB ShowDoc (d%) DECLARE SUB InfoBar (d%) DECLARE SUB DocInit (d%) DECLARE SUB SaveQry (d%) DECLARE SUB CutText (d%) DECLARE SUB PasteText (d%) DECLARE SUB DeleteT...
100 print "hello, what's your name?" 110 input a$ 120 on int(rnd(1)*5) goto 130,140,150,160 130 print "that's a nice name, "a$:goto 170 140 print "that's a funny name, "a$:goto 170 150 print "pleased to meet you, "a$:goto 170 160 print "hello "a$" i'm your computer" 170 end
SUB RunScript (File1$, File2$) fc% = FileOPEN(File1$, "B") CurrentResorce$ = File2$ DO GET fc%, , Instruction% SELECT CASE Instruction% CASE 1 LoadTextArray CurrentResorce$, InitFileName$() CurrInitFileName% = 1 CASE 2 ShowList InitFileName$(CurrInitF...
10 on error goto 460:u$=string$(34,45):skip=0 20 fullw 2:clearw 2:if peek(systab)<>4 then goto rezok 30 ?"RUN THIS IN MEDIUM OR HIGH RESOLUTION":goto done 40 rezok:gotoxy 1,3:?"DISK SWAPS NEEDED? PRESS Y/N":gosub yn 50 if kp$="N" then skip=1 60 def seg=0:defdbl b:b=systab+20:ad=peek(b):had=ad:nt...
20 CLS PLAY "ml" INPUT nth 22 FOR y = 1 TO 2 25 FOR g = 1 TO 8 30 PLAY "l2n0" 40 NEXT g 45 NEXT y 50 PLAY "o3l2dc+<bagf+gl4a>c+" 60 PLAY "<l4d>dc+c+<bbaadl8del4f+ab>ddc+" 70 PLAY "l8ddl8<f+f+f+f+eedd>ddddc+c+<bbbb>dd<aabbbbaaaa" 80 PLAY ">l8dc+d<dc+aef+d>dc+<b>c+f+abgf+egf+edc+<bagf+egf+e" 90 PLAY "o3l8dd>ddc+c+c+c+<bb...
100 REM Program to calculate E by an infinite series 110 LET E=1 120 LET E0=E 130 LET I=I+1 140 LET D=1 150 FOR J=1 TO I 160 LET D=D*J 170 NEXT J 180 LET E=E+1/D 190 PRINT E 200 IF ABS(E-E0)>1.00000E-07 GO TO 120 210 END
10 MAXFILES=6:OPEN "region1" FOR OUTPUT AS #1 21 OPEN "region2" FOR OUTPUT AS #2:OPEN "region3" FOR OUTPUT AS #3 30 FOR I=1 TO 3 31 PRINT "region";I 35 INPUT "Введите количество работающих метеорологов на станции";N 36 FOR E=1 TO N 40 INPUT "Введите:имя метеоролога";I$:INPUT "название региона";R$:INPUT "кол...
DECLARE FUNCTION popup$ (x1%, y1%, PR$, tx$) DECLARE SUB openbox (x%, y%, w%, h%) DECLARE SUB closebox (x%, y%, w%, h%) DEFINT A-Z SCREEN 7 FOR a = 1 TO 1000 CIRCLE (320 * RND, 480 * RND), 10 * RND, 15 * RND NEXT a ' *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-- p3$ = "%s I1...
10 rem ** mind over electrons ** 20 g=1024:h=55296:s=g+343:r=h+343 30 poke53280,15:poke53281,15 40 input"{clear}{down*2}{right*2}computer chooses (y/n)";a$ 50 ifa$="y"thenf=1 60 print"{clear}{white}{down*2}{right}z{space*3}v{space*3}w{space*3}x{space*3}{cm asterisk}{space*3}a{space*3}*{space*3}q{space*3}s{space*3}{sh +...
REM @english REM GRAPHICS PRIMITIVES USING BOX AND PATTERNS REM REM This example will draw two red segments. REM REM @italian REM PRIMITIVE DI GRAFICA CON L'USO DI BOX E PATTERN REM REM Questo esempio disegnerà due segmenti rossi. BITMAP ENABLE CLS INK YELLOW SET LINE $f0f0 BOX 50,100...
0 POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POEKV,A 1 POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POEKV,A:POKEV,. 2 POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POKEV,A:POKEV,.:POEKV,A 3 ...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault DividingLines = NotDefault FilterOn = NotDefault DefaultView =0 ScrollBars =0 PictureAlignment =5 PictureSizeMode =1 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =2...
1 ' El archivo loader.bin se genera con el compilador sjasm 1 ' Este comando tan solo mostrará una pantalla de carga' 10 bload "scloader.bin",r 1 ' Este comando arrancará el programa basic 20 load"mainint.bas",r
atom=B contraction shell=S num_primitives=1 num_coefficients=1 5.8140 1.000000 contraction shell=S num_primitives=1 num_coefficients=1 12.894 1.000000 contraction shell=S num_primitives=1 num_coefficients=1 28.595 1.000000 contraction shell=S num_primitives=1 num_coefficients=1 63.419 1.000000 contraction shell=P num_p...
10 'QUADRATIC PROGRAM: Colin Brue CLS LOCATE 4, 1 PRINT "Enter the coefficients of the quadratic equation a,b,c," INPUT a, b, c d = 4 * a * c e = b ^ 2 IF d > e THEN 20 ELSE 30 20 PRINT "No Real Solution": GOTO 100 30 s1 = (-b + SQR(b ^ 2 - 4 * a * c)) / 2 * a s2 = (-b - SQR(b ^ 2 - 4 * a * c)) / 2 * a PRINT "The so...
'********* VertMenu.Bas - A Vertical menu for graphics mode 'Copyright (c) 1989,1990 Don Malin & Brian C. Giedt 'Copyright (c) 1989 Crescent Software DEFINT A-Z '$INCLUDE: 'GWDecl.BAS' DECLARE SUB GPaintBox (Col1%, Line1%, Col2%, Line2%, OldColor%, NewColor%) '$INCLUDE: 'Common.GW' '******************************...
5 print ti$:ti$="134526":print ti$ 10 s=ti:fori=0to10:a$="blah":b$="blubb":c$=a$:a$="hi!" 20 print a$;" : ";b$;" : ";c$;" i=";i:nexti:print ti-s 30 print "time= ";ti$
E000R SCR HIMEM=7000 10 REM HOROSCOPE GENERATOR 20 REM BY JEFF TRANTER <TRANTER@POBOX.COM> 30 REM 13 MAY 2012 35 DIM N$(20), C$(20), T$(20), S$(12), A$(3) 40 GOSUB 10000 : REM CLEAR SCREEN 50 PRINT " YOUR HOROSCOPE" 60 PRINT " --------------" 70 PRINT "" 80 PRINT "THE PROGRAM GENERATES A PERSONAL" 9...
Check 333900E1 Auto 1 10 LOAD "" SCREEN$ 15 POKE 23739,111 20 LOAD ""
Attribute VB_Name = "direct" Public roundm As Integer, roundmsent As Integer Public Sub directmsg(Optional prev As Boolean, Optional reset As Boolean) On Error GoTo fin If reset Then GoTo fin End If Static minid(202), id, respdm As New DOMDocument, respdmlen As Integer For i = 4 To 202 Step 3 Select Case r...
Attribute VB_Name = "modJrnlSub3PurchFuncs" Option Compare Database Option Explicit Private Const THIS_NAME As String = "modJrnlSub3PurchFuncs" 'VGC 09/07/2017: CHANGES! ' ** Combo box column constants: purchaseCurr_ID. Private Const CBX_C_CURRID As Integer = 0 'curr_id 'Private Const CBX_C_CODE As Inte...
1 %TITLE "Sales by Salesman and Customer" %SBTTL "SA_RPRT_SALCUSPRD" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1991 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 !...
CLS PRINT " Welcome to Maze Master " PRINT " I am the maze master i control your fate!" PRINT " Enter your name and we shall start" INPUT a$ CLS 1000 PRINT " Welcome "; a$; " let us begin" 1110 PRINT " oh of course, I must as...
Attribute VB_Name = "Module1" Global Const strConnectionString = "DRIVER={SQL Server};SERVER=54.241.244.28;DATABASE=Ticketmation;UID=sa;PWD=s.blufLUL#^0$\M\1%FZ" Global IP As String Global wrkjet As Workspace Global db As Database 'API Constants Public Const GWL_STYLE = -16 Public Const WS_DISABLED = &H8000000 P...
1 %TITLE "PR Union/Pension Definition Maintenance" %SBTTL "PR_MAIN_UNPN_DEF" %IDENT "V3.6a Calico" FUNCTION LONG PR_MAIN_UNPN_DEF(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. ! !...
1 REM DAYYEAR 4 CLEAR ' 1000:CLS 10 DIM M$(15),S(15) 15 'DEFINT L 20 PRINT TAB(15); "DAY OF YEAR" 30 PRINT:PRINT"GIVEN THE MONTH AND DAY OF A PARTICULAR DATE IN THE YEAR 40 PRINT"THIS PROGRAM WILL CALCULATE ON WHICH DAY OF THE YEAR THAT DATE 50 PRINT"OCCURS. FOR EXAMPLE 02/15 IS THE 46 TH DAY OF THE YEAR. FOR 60 PRINT"...
1 \ ink val "7":\ paper not pi:\ border not pi:\ bright not pi:\ flash not pi:\ inverse not pi:\ over not pi:\ cls:\ clear {LoaderStart}:\ let a=val "23635":\ let b=a+sgn pi:\ let c={SkipOffset}+peek a+val "256"*peek b:\ poke c,peek a:\ poke c+sgn pi,peek b:\ randomize usr (c-sgn pi)
rem Generated 8/29/2019 9:06:07 PM by Visual bB Version 1.0.0.568 rem ********************************** rem * AAA's Revenge * rem * A remake of the Neopets game, for the Atari 2600! * rem * Can you get to 1000 points? At least this version shouldn't crash when you get there... * rem * by /u/...
REM This is an ASCII dump of a BASIC REM program. To load it, do: REM ENTER "basic.txt" REM Then you can save it with: REM SAVE "basic.bas" REM ...in the normal way. 10 PRINT "I can do it!" 20 FOR i=1 TO 9 30 PRINT "I can do it ";i;" time"; 40 IF i<>1 THEN PRINT "s"; 50 PRINT "!" 60 NEXT i REM vim: ...
'FTP Client 'Matt Kilgore -- 2011/2013 'This program is free software, without any warranty of any kind. 'You are free to edit, copy, modify, and redistribute it under the terms 'of the Do What You Want Public License, Version 1, as published by Matt Kilgore 'See file COPYING that should have been included with this s...
10 PRINT "PROGRAM FILE 17: ELEMENTARY USE OF GOSUB AND RETURN." 20 PRINT " ANSI STANDARD 10.2, 10.4" 30 PRINT 40 PRINT "SECTION 17.1: ELEMENTARY USE OF GOSUB AND RETURN." 50 PRINT 52 PRINT "THIS PROGRAM TESTS THAT THE SUBROUTINE MECHANISM EXISTS" 54 PRINT "AND THAT A SUBROUTINE CAN BE INVOKED FROM SEVERAL" 56 PRINT ...
'borra facturas congeladas CLOSE : OPEN "F:\kevinprg\kevindat\saler.dat" FOR RANDOM AS #1 LEN = 100 FIELD #1, 1 AS acti$, 20 AS nomb$, 20 AS apel$, 4 AS cedu$, 20 AS carg$, 3 AS clco$, 10 AS clla$, 1 AS inout$, 1 AS cong$, 1 AS gaveta$, 19 AS vac$ nursaler = LOF(1) / 100 FOR k = 1 TO nursaler: GET #1, k: RSET cong$...
10 :REM'\hamcalc\prog\INTRO - Page one of HAMCALC - 06 JUN 96 rev. 25 JAN 2011 20 CLS:KEY OFF 30 SCREEN 0,0:KEY 10,"SYSTEM"+CHR$(13) 40 COMMON EX$,V$,D$ 50 IF EX$=""THEN RUN"\hamcalc\menu\hcal" 60 P$=STRING$(37,32)+"-∙∙∙-"+STRING$(38,32) 70 S$=STRING$(80,32) 80 COLOR 15,2,1 90 PRINT S$; 100 LOCATE CSRLIN-1,16 110 PRINT...
10 GOTO 210 30 'Изображение дополнительных координат 40 ' (подпрограмма) 60 PUT SPRITE 0,(16,P),1,H 70 PUT SPRITE 1,(22,P),1,T 80 PUT SPRITE 2,(28,P),1,U 90 PUT SPRITE 3,(16,P+8),1,H1 100 PUT SPRITE 4,(22,P+8),1,T1 110 PUT SPRITE 5,(28,P+8),1,U1 120 RETURN 130 ' О с н о в н а я программа 210 SCREE...
$regfile = "m8def.dat" $crystal = 8000000 'Config Lcdpin = Pin , Db4 = Portb.2 , Db5 = Portb.3 , Db6 = Portb.4 , Db7 = Portb.5 , E = Portb.1 , Rs = Portb.0 'Config Lcd = 16 * 2 Buzzer Alias Portd.0 Relay Alias Portd.6 Enable_display Alias Portd.7 7_segment_display Alias Portb Top Alias Pinc.5 Bottom Alia...
Version =20 VersionRequired =20 PublishOption =1 Checksum =1821066108 Begin Form RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault OrderByOn = NotDefault AllowDesignChanges = N...
5 CLS 10 FOR a=1 TO 4799 20 FGCOLOR RND*8 30 BGCOLOR RND*8 40 PRINT "*"; 50 NEXT a 60 PAUSE 3000 70 SETFG 7 80 SETBG 1 90 CLS
1 REM- BREAKOUT 2 REM- WRITTEM 22-10-80 3 REM- BY D.DINI 4 GOSUBy 5 CLEAR0;Y=#B001;F=0;A=4000 6 D=256*5 10 S=#8020;E=#80BF 15 V=1;G=0;Q=1 20 FORT=S TO E;?T=#7F;NEXTT 25 W=0;J=#81C0 27 P.$30,A,F 30 FORX=G TO(31-G) STEPQ 32 M=X?J;N=X+J 34 IFJ<S;GOTOe 36 IFM=#1E;F=F-1 37 IFM<>#40;O=X;...
5 *FX12 10 MODE7:PRINT'" * A ONE ROOM ADVENTURE *" 11 PRINT STRING$(32,"-"); 12 PRINT:PRINT'"You have just awakened.":PRINT:PRINT"You don't have the slightest idea where you are or even who you are!" 13 PRINT:PRINT"You seem to have amnesia from a blow to your head." 15 DIM RM$(7),OB$(56),EX$(50),OB%(57),D$(6)...
atom=H contraction shell=P num_primitives=1 num_coefficients=1 0.750 1.000000 atom=He contraction shell=P num_primitives=1 num_coefficients=1 0.750 1.000000 atom=Li contraction shell=D num_primitives=1 num_coefficients=1 0.200 1.000000 atom=Be contraction shell=D num_primitives=1 num_coefficients=1 0.255 1.000000 atom=...
Attribute VB_Name = "ArrayFormulas" Option Explicit Option Base 1 ' DESCRIPTION ' This function takes a ParamArray and copies its elements into a regular variant array. If ' the ParamArray is missing, this function returns an empty array. ' ' PARAMETERS ' 1. arg - a variant ParamArray ' ' RETURNED VALUE ' A variant a...
Option Explicit Sub Test() End Sub Sub aaa() End Sub Sub bbb() End Sub Sub ccc() Dim End Sub Sub ddd() Dim strA as String Dim strB as String End Sub Const cnsAAA as integer = 1 Const cnsBB as = Const cnsCC as Long = 10000 Const cns as = Const cnsbb as = = consts Const cnsS...
1 %TITLE "PR Employee Rate Review" %SBTTL "PR_RPRT_RATE_REVIEW" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1987, 1988, 1990 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 ...
1 %TITLE "Order Entry Control File" %SBTTL "OE_MAIN_CONTROL" %IDENT "V3.6a Calico" FUNCTION LONG OE_MAIN_CONTROL(CDD_WINDOW_CDD SMG_WINDOW, LONG MOPTION, & LONG MLOOP, LONG MFLAG, STRING MVALUE) ! ! COPYRIGHT (C) 1990 BY ! ! Computer Management Center ! Idaho Falls, Idaho. ! ! This software is furnished u...
\*********************************************************************** \*********************************************************************** \*** \*** DESCRIPTION: Item Movement & Stock File (Merged) \*** File Functions \*** \*** FILE TYPE : Keyed \*** \***************************************...
Attribute VB_Name = "CodeMISC" ' (c) Copyright 1995-2023 by John J. Donovan Option Explicit ' Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ' in the Software without restriction, including without limitation...
10 REM Tra‡ado de isovolumicas do g s ideal REM dados R = 8.31 n = 1 V1 = .1 V2 = .2 V3 = .3 V4 = .4 Tmin = 200 Tmax = 400 Pmax = 50000 SCREEN 12 VIEW (100, 100)-(500, 400), 0, 2 WINDOW (0, 0)-(Tmax, Pmax) LOCATE 28, 50: PRINT "T(K)" LOCATE 12, 5: PRINT "P(Pa)" LOCATE 27, 12: PRINT 0: LOCATE 27, 61: ...
100 REM plots the HAT function on color graphics monitor 110 REM requires approx. 45min to complete 120 CLEAR:SCREEN 1:KEY OFF:CLS:COLOR 0,3 130 P=160:Q=100 140 XP=144:XR=1.5*3.1415927# 150 YP=56:YR=1:ZP=64 160 XF=XR/XP:YF=YP/YR:ZF=XR/ZP 170 FOR ZI=-Q TO Q-1 180 IF ZI<-ZP OR ZI>ZP GOTO 260 190 ZT=ZI*XP/ZP:ZZ=Z...
#Include "util.bi" #Include "debuglog.bi" #Include "crt.bi" Namespace util Function genUId() As ULongInt Return CLngInt(Rnd*CDbl(CUInt(&hffffffff))) Or (CLngInt(Rnd*CDbl(CUInt(&hffffffff))) Shl 32) End Function Function hash Naked Cdecl(x As Const ZString) As Long Asm #Ifdef __FB_64BIT__ push rbx ...
1 print "hello" 30 for j = 2048 to 2062 40 print j;peek (j);chr$ (peek (j)) 50 next
Attribute VB_Name = "modGetData" ' '---------------------------------------------------------- ' Project : DoDMudServer ' Module : modGetData ' Author : Chris Van Hooser ' Copyright : 2004, Spike Technologies, Chris Van Hooser ' Email : spike.spikey@comcast.net '---------------------------------------------...
100 REM LISTMAR Program. 110 REM Prints a List of Marriages 120 REM Copyright (c) 1982 ... 1989 by: Melvin O. Duke. 130 OPTION BASE 0 140 DEFINT A-Z 600 REM Titles 610 TITLE$ = "List the Marriages File" 620 TITLE$ = TITLE$ + " ON DISPLAY" 700 REM Terminate if not called from the Menu 710 IF...
DECLARE SUB DefCheck (LABEL$, Y$, PACK$, ERM$) REM $INCLUDE: 'x86.bi' DECLARE SUB DefRead (LABEL$, Y$) DECLARE FUNCTION LblMatch$ (LBL$) DECLARE SUB ExpEval (ARG$, value#, ERM$) DECLARE SUB Immparse (ARG$, PACKED.SOURCE$, LABEL$, ONE.B!, value#, ERM$) DECLARE SUB NumParse (RAW.SOURCE$, PACK$, NUM.VALUE#, ERM$) D...
'************ PELOTA REBOTANDO ************* ' CLEAR : KEY OFF: SCREEN 1: COLOR 0, 1: CLS : DEFINT A-Z LOCATE 4, 1: PRINT "Bienvenido al JUEGO CON PALETA" LOCATE 8, 1: PRINT "Reglas: 1 punto por cada golpe, " LOCATE 10, 8: PRINT "-1 punto por cada fallo" LOCATE 14, 1: RANDOMIZE: CLS ...
IF usercommand$(runcommands) = "until" THEN DO FOR runcommands2 = 1 TO usercommands IF usercommand$(runcommands2) = "birthday" THEN year1 = VAL(RIGHT$(DATE$, 4)) month1 = VAL(LEFT$(DATE$, 2)) day1 = VAL(MID$(DATE$, 4, 2)) hour1 = VA...