text
stringlengths
7
5.36M
'=============================================================================== ' BARIX Barionet BCL Application (C)2015, Written by ME '=============================================================================== ' Register Mapping ' Barionet 100 Milestone Description Application usage ' -------...
5 dim A(10) 10 REM 'DIM' NUMERIC ARRAY TEST PROGRAM 30 PRINT "THESE NUMBERS ARE STORED IN AND PRINTED" 40 PRINT "FROM A SINGLE DIMENSION NUMERIC ARRAY." 50 FOR X=1 TO 10 60 A(X)=X 70 PRINT " ";A(X);" "; 80 NEXT X 99 END
OPTION EXPLICIT IMPORT mod2 PRINT "Hello, World!"
1 %TITLE "MCL Interpreter" %SBTTL "FUNC_MCLCOMMAND" %IDENT "V3.6a Calico" FUNCTION LONG FUNC_MCLCOMMAND(SCOPE_STRUCT SCOPE, & STRING COMMAND(), & LONG CMCMACRO, & STRING COMMAND_IN, & STRING COMMAND_OUT) ! ! COPYRIGHT (C) 1989 BY ! Computer Management Center ! ! Idaho Falls, Idaho. ! ! This software...
10 PRINT"{clear}" 20 POKE53280,7:POKE53280,0 30 X=1:Y=1 40 DX=1:DY=1 50 POKE55296+X+40*Y,1 55 POKE1024+X+40*Y,81 60 FORT=1TO10:NEXT 70 POKE1024+X+40*Y,32 80 X=X+DX 90 IFX=0ORX=39THENDX=-DX 100 Y=Y+DY 110 IFY=0ORY=24THENDY=-DY 120 GOTO50
1 %TITLE "Asset Depreciation" %SBTTL "AD_MAIN_DEPRECIATION" %IDENT "V3.6a Calico" FUNCTION LONG AD_MAIN_DEPRECIATION(CDD_WINDOW_CDD SMG_WINDOW, & LONG MOPTION,LONG MLOOP, LONG MFLAG, STRING MVALUE) ! ! COPYRIGHT (C) 1987 BY ! ! Computer Management Center ! Idaho Falls, Idaho. ! ! This software is furnishe...
REM EXTERNAL INTEGRATION DECLARE EXTERNAL PROCEDURES (WITH PARAMETERS) REM REM This small example explains how to declare external REM procedures to be called as normal procedure inside ugBASIC. REM Moreover, it explain the syntax on parameter definition and REM target limitation. REM REM @italian REM INTEGR...
10 PRINT "PROGRAM FILE 139: PERMUTATION TEST FOR THE RND FUNCTION." 20 PRINT " ANSI STANDARD 8.4" 30 PRINT 40 PRINT "SECTION 139.1: PERMUTATION TEST FOR THE RND FUNCTION." 50 PRINT 60 PRINT "THIS PROGRAM TESTS TO SEE THAT WITHIN FIXED SIZE GROUPS" 70 PRINT "OF RANDOM NUMBERS, ALL ORDERS OF THE VALUES ARE EQUALLY" 80...
TYPE gfxType tileMap AS STRING * 1600 tileGfx AS STRING * 6400 tileBuffer AS STRING * 6400 END TYPE DIM gfx AS gfxType CLS PRINT VARSEG(gfx.tileMap), VARPTR(gfx.tileMap) PRINT VARSEG(gfx.tileGfx), VARPTR(gfx.tileGfx) PRINT VARSEG(gfx.tileBuffer), VARPTR(gfx.tileBuffer) OPEN "level0.lvl" FOR BINARY AS #1 GET #1,...
2 REM A MICROSOFT WIN98 QBASIC PROGRAM BY A. J. YLIKOSKI 10 REM THE SONG "LOVE STORY" BY FRANCIS LAI 12 REM WITH THE MICROSOFT WIN98 QBASIC PLAY COMMAND 20 CLS 24 PLAY "O3" 30 PRINT "LOVE STORY BY FRANCIS LAI" 35 REM STANZA #1 40 PLAY "L8 B- D D B- ML L2 B- L8 B- MN D D B-" 50 PLAY "B- D E- D C C C A ML L2 A L8...
10 '-- MENU HOBBY RRETRO -- 20 MEMORY 24000 25 'he metido la rutina de carga de rom en la zona de sprites de 8BP, en la direccion 42000 26 load "8bp.bin" 27 FOR dir=42540 TO 42618 STEP 2: POKE dir,RND*200: POKE dir+1,RND*80:NEXT 40 MODE 0: DEFINT A-Z: CALL &6B78:' install RSX 50 NUMGAMES=15:' 2 paginas, 10 juegos por c...
1 'save"kirby.bas 10 COLOR15,0,0:SCREEN5,2:DEFINTA-Z 20 SETPAGE0,3:BLOAD"kirbyt1.sc5",S:COLOR=RESTORE 30 G=6:S=13:SETPAGE0,0:FORI=0TO100:LINE(128-I,6+I)-(128-I,206-I),G:LINE(128+I,6+I)-(128+I,206-I),S:IFI>80THEN37 35 LINE(128-I,26+I)-(128-I,186-I),S:LINE(128+I,26+I)-(128+I,186-I),G 37 NEXT 40 FORI=0TO28STEP2...
10 INPUT N 11 A = 1 12 B = 1 20 IF N = 1 OR N = 2 THEN 70 30 FOR I = 3 TO N 31 TMP = B 40 B = A + B 50 A = TMP 60 NEXT I 70 PRINT B 80 END
IF usercommand$(runcommands) = "word" OR usercommand$(runcommands) = "words" THEN IF INSTR(useroutputuse$, "in") THEN start = (INSTR(useroutputuse$, "in") + 3) IF INSTR(useroutputuse$, "out of") THEN start = (INSTR(useroutputuse$, "out of") + 7) IF INSTR(useroutputuse$, "make from") THEN start = (INSTR(user...
100 ' LINE INPUT WAIT sample 110 *ENTRY 120 A$="" 130 FOR I=1 TO 3 140 A$=A$+CHR$(INT(RND*26+65)) 150 NEXT I 160 PRINT "problem : ";A$ 170 LINE INPUT WAIT 60,B$:GOTO *ANSWER 180 PRINT:PRINT "Time out !!" 190 GOTO *ENTRY 200 *ANSWER 210 IF A$=B$ THEN PRINT "Right !":GOTO *ENTRY 220 PRINT "Wrong !" 230 GOTO...
CLS SCREEN 0 C1=15:C2=5:C3=1:C4=15 GOSUB LOWERPIPE GOSUB UPPERPIPE GOSUB PIPEMENU END LOWERPIPE: COLOR C1,C2 LOCATE 10,1:PRINT" 1 2 3 4 5 6 7 8 9 10 11 " COLOR C2,C3 LOCATE 11,1:PRINT CHR$(179) COLOR C4,C3 LOCATE 11,2:PRINT" AREA FROM TO I...
CONST true = -1, false = NOT true DIM SHARED mouseX AS SINGLE, mouseY AS SINGLE DIM SHARED mB1 AS _BYTE, mB2 AS _BYTE DIM SHARED mouseWheel AS INTEGER SCREEN _NEWIMAGE(800, 450, 32) boxY = _HEIGHT / 2 DO getInput 0 CLS PRINT mouseX, mouseY PRINT mB1, mB2 PRINT mouseWheel IF mousedown THEN ...
10 INPUT X$,Z$:J=0 20 FOR I=1 TO LEN(X$)-LEN(Z$)+1 30 IF Z$<>MID$(X$,I,LEN(Z$)) THEN NEXTI ELSE J=J+1:NEXTI 40 PRINT J:END 
1 %TITLE "Customer Name/Address Maintenance" %SBTTL "AR_MAST_CUSTOM" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1987, 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 w...
SUB d16 (char$, xx, xy, xc) OPEN "d:\ucdos\hzk16" FOR RANDOM AS #1 LEN = 1 FIELD #1, 1 AS f$ FOR k = 1 TO LEN(char$) STEP 2 qm = ASC(MID$(char$, k, 1)) - 161 wm = ASC(MID$(char$, k + 1, 1)) - 161 IF qm < 0 OR wm < 0 THEN GOTO endd16 r = (qm * 94 + wm) * 32 + 1 FOR xs = 0 TO 15 GET #1, r: r = r + 1: LINE (xx + 15, xy + ...
Version =20 VersionRequired =20 Begin Form DividingLines = NotDefault FilterOn = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularCharSet =238 PictureAlignment =2 DatasheetGridlinesBehavior =0 GridY =10 Width =14361 DatasheetFontHeight =9 ItemSuffix =187 ...
Version =20 VersionRequired =20 Begin Form AutoCenter = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault DefaultView =2 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =14400 ItemSuffix =36 Righ...
DECLARE SUB cosas (cosa!, y!, x!, k!, kb!) DECLARE SUB pers (tipo!, posit!, y!, x!, k!, kb!) DECLARE SUB perm (tipo!, posit!, y!, x!, k!, kb!) DECLARE SUB presenta () DIM snx(50) DIM sny(50) SCREEN 0 presenta GOSUB modo IF modo = 2 THEN GOSUB elegmi puntos = 0 1 nieve = 0 evil = 0 eterna = 0 shadow = 0 ...
REM @english REM STRING MANIPULATION CONVERTING WITH REPETITIONS (1) REM REM This example shows how to create a string by repetitions. REM REM @italian REM MANIPOLAZIONE DI STRIGHE CON CONVERSIONE DA NUMERI (1) REM REM Questo esempio mostra come creare una stringa con ripetizioni. PRINT "STRING(ugBASIC is a...
10 REM LOADER DO HLWRLD.ASM 20 BLOAD"HLWRLD.BIN" 30 DEF USR0=&H810A 40 A=USR0(0)
' Called from subs recruit and navy. SUB newarmy (who, empty, target) supply(empty) = 3 + 5 * RND IF who = 1 THEN supply(empty) = supply(empty) + 2 armyexper(empty) = 1 IF who = 2 THEN armyexper(empty) = 2 armylead(empty) = rating(empty) armyname$(empty) = lname$(empty): lname$(empty) = "" COLOR 12: CALL clrbot:...
DECLARE FUNCTION bino# (n#, k#) DECLARE SUB sysanz (zahl#, sys!) DECLARE SUB sechzig (zahl#, stellen!) DECLARE SUB bruch (zahl#, stellen!) DECLARE FUNCTION bin$ (zahl#) DECLARE SUB anzeige (ergeb#, sys!, modus1!, modus2!, dez!) DECLARE FUNCTION fak# (zahl#) DECLARE FUNCTION ersetze$ (text$) DECLARE FUNCTION ggT...
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p. 10 'H-Fractal 20 'Name: TREEH1 30 DIM x(2048), y(2048) 40 SCREEN 12, 0, 0, 0: CLS 50 WINDOW (-2.4, -1.8)-(2.4, 1.8) 55 LOCATE 10, 35: COLOR 10: PRINT "Calculating" 60 p = 9: 'order 70 a = SQR(1 / 2): 'reduction 80 x(1) = 0: y(1) = 0 90 FO...
\***************************************************************************** \***************************************************************************** \*** \*** ENDOK FILE FUNCTIONS \*** \*** REFERENCE : ENDOKFUN \*** \*** VERSION A : STEVEN GOULDING 13.10.92...
!------------------------------------------------------------------------------ !- Pentominos 64 !- A puzzle-solving program for the Commodore 64 !- V 0.24 17-10-2015 !- Incorporating the 'headliner' routines for big char set headline !- V 0.23 !- Try squares instead of cicles !- V 0.22 !- ...
100 rem *** HURKLE - PEOPLE'S COMPUTER COMPANY, MENLO PARK, CA 110 randomize timer 120 rem *** N IS THE NUMBER OF GUESSES ALLOWED 130 n=5 140 print "DO YOU WANT THE RULES (1=YES 0=NO)"; 150 input z 160 if z<>1 then goto 490 170 rem *** HERE ARE THE RULES 180 print "A HURKLE IS HIDING IN A GRID, LIKE THE ONE BELOW." 19...
10 PRINT "a"
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p. 10 'Star Fractal 20 'Name: STAR 30 SCREEN 12, 0, 0, 0: CLS : pi = 3.141593 40 WINDOW (-.5, -.8)-(1.5, .7) 45 COLOR 15: LOCATE 1, 1: PRINT "Star fractal" 50 p = 5: v = 4: a = 144: r = .35: a = a * pi / 180 60 PSET (0, 0): x = 0: y = 0 70 FOR...
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 INPUT "WHAT NUMBER DO YOU WANT TO KNOW THE FACTORIAL OF"; N 20 LET F = 1 30 FOR I = 1 TO N 40 LET F = F * I 50 NEXT I 60 PRINT N; "! = "; F 70 END
Attribute VB_Name = "FINAN_ASSET_SYSTEM_KELLY_LIBR" '-------------------------------------------------------------------------------------------- '-------------------------------------------------------------------------------------------- Option Explicit Option Base 1 '------------------------------------------------...
Version =20 VersionRequired =20 PublishOption =1 Checksum =-357106407 Begin Form NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =13800 DatasheetFontHeight =11 I...
' Note: When you win a game, you get a free turn on your next game if your ' first guess is wrong. ' DEFINT A-Z DECLARE SUB tletter (wletter$) DECLARE SUB start () DECLARE SUB lost () DECLARE SUB calculate () DECLARE SUB ending () DECLARE SUB endscreen () DECLARE FUNCTION test () CLEAR : RANDOMIZE TIMER: SCREEN 1...
90 rem ** warp trog ** 100 screen=1024 101 print chr$(147):gosub 3500 110 goto 2800 120 for a=-cd to cd step 2:u=i:v=j+a:gosub 160:next a 130 for a=-cd to cd step 2:v=j:u=i+a:gosub 160:next a 140 return 150 v=j-ao:u=i 160 if (u<1)or(u>6) then return 170 if (v<1)or(v>6) then return 180 if sgn(a(u,v))=ao then r...
REM Benjamin Wolf REM March 14, 2003 CLS DIM mindless(1000) OPEN "A:numbers.txt" FOR INPUT AS #34 OPEN "A:bubble.txt" FOR OUTPUT AS #45 strt = TIMER FOR x = 1 TO 1000 INPUT #34, mindless(x) NEXT x DO quip = 0 FOR x = 1 TO 999 IF mindless(x) > mindless(x + 1) THEN SWAP mindless(x), ...
5 print "printer test... check printer output when done" 10 open1,4,1:gosub 100 99 cmd 1:list 100 print#1,"printer quote mode test" 130 print#1,chr$(34);chr$(147);chr$(34) 135 print#1,"control chars $00 to $1f:" 145 print#1,chr$(34);:fori=0to31:print#1,chr$(i);:next:print#1,chr$(34) 146 print#1,"...
CLS FOR t = 1 TO 12 PRINT "" NEXT t PRINT " INGLISH --> 1" PRINT "" PRINT " ESPA„OL --> 2" A$ = INPUT$(1) IF A$ = "1" THEN I = 1 IF A$ = "2" THEN I = 2 A = -50 B = 325 SCREEN 12 VIEW (0, 0)-(600, 450), 0 5 LINE (A - 2, B - 2)-(A + 50, B + 52), 0, BF LINE (A, B + 50...
LET a = 50 '3 LET b = 100 LET c = 150 '2 LET d = 100 LET e = 110 '1 LET f = 50 SCREEN 1 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...
10 mode 1 15 cls : clg 20 r = 100 : x = 320 : y = 200 25 d1 = 9 : d2 = 6 30 deg 40 origin x, y 50 for a = 1 to 360 60 plot r * cos(a + d1), r * sin(a + d2) 70 next a
PRINT "안녕 세상아"
Operation =1 Option =0 Having ="(((tbl_Locations.Unit_Code)=[Forms]![frm_Select_Transect_Counts]![Park_Code]) AN" "D ((Year([Start_Date]))=[Forms]![frm_Select_Transect_Counts]![Visit_Year]))" Begin InputTables Name ="tbl_Locations" Name ="tbl_Events" Name ="tbl_Quadrat_Transect" End Begin OutputColumns...
!-------------------------------------------------- !- Friday, May 12, 2017 11:21:23 PM !- Import of : !- c:\src\zelch64\bak\fortune.prg !- Commodore 128 BASIC 7/7.1 !-------------------------------------------------- 8000 SYS51983:A=RND(-TI) 8010 TX$="{clear}{down*3}{f1}WHEEL OF{sh space}FORTUNE!":GOSUB5:TX$="...
' GETMM.FRM Option Explicit Sub sub99F8 () End Sub Sub Command3D1_Click () Dim l001C As Variant Dim l0022 As Variant Dim l0026 As String Dim l002A As Variant l001C = extfn1018("AOL FRAME25", 0&) l0022 = extfn10F8(l001C, "Welcome") l0026$ = String(30, 0) l002A = extfnFA8(l0022, l0026$, 250) If l002A <= 7 Then MsgBox ...
Attribute VB_Name = "Mod_MessageBox" Private Declare Function GetActiveWindow Lib "user32" () As Long Private Declare Function MessageBoxEx Lib "user32" Alias "MessageBoxExA" _ (ByVal hwnd As Long, _ ByVal lpText As String, _ ByVal lpCaption As String, _ ByVal uType As Long, ByVal _ wLa...
5 OPEN"grp:"AS#1 10 COLOR 15,4,15 ' Начальная установка 20 SCREEN 5 ' экрана 30 LINE(40,60)-(80,110),3,BF ' Рисуем прямоугольник 40 COPY (40,60)-(80,110) TO (100,60),,TAND ' Копия прямоугольника 50 Y=POINT (110,70) ...
10 print "hello" 20 goto 10
10CLS:CLEAR300:DIMA$(8):DIMB$(10):DIMP(10) 16DIMT$(8):T$(1)=CHR$(56):T$(2)="b":T$(3)="i":T$(4)="t":T$(5)=CHR$(42):T$(6)="r":T$(7)="p":T$(8)="g": 11PRINT@352,STRING$(32,156); 12PRINT@384,STRING$(32,204); 13PRINT@416,STRING$(32,220); 14PRINT@448,STRING$(32,252); 15PRINT@0,STRING$(32,172); 20A$(1)=STRING$(6,CHR$(191)) 22A...
10 hgr 1,0 20 cls 30 for i=0 to 319 40 plot i,100-100*sin(0.1*i),1 50 next 60 pause 70 nrm
'**************************************************************** '* Name : UNTITLED.BAS * '* Author : [select VIEW...EDITOR OPTIONS] * '* Notice : Copyright (c) 2012 [select VIEW...EDITOR OPTIONS] * '* : All Rights Reserved ...
10 SCREEN1:WIDTH 32 20 DEFUSR=&H7E:A=USR(0) 'Установили совмещенный режим 30 'Считываем шаблоны символов из ROM в Таблицу PGT 40 FOR T=0 TO 2 50 FOR K=0 TO 2047 60 VPOKE BASE(7)+2048*T+K,PEEK(&H1BBF+K) 70 NEXT K,T 80 'Инициализируем цвета символов в Таблице CT 90 FOR I=0 TO 6143:VPOKE BASE(6)+I,&HF4:NE...
2 REM A MICROSOFT WIN98 QBASIC PROGRAM BY A. J. YLIKOSKI 10 REM THE GERMAN SONG "TOIVIORETKELLŽ" 12 REM WITH THE MICROSOFT WIN98 QBASIC PLAY COMMAND 20 CLS 30 PRINT "TOIVIORETKELLŽ ... MAA ON NIIN KAUNIS" 40 FOR I% = 1 TO 2 50 PLAY "L2 D L4 D D ML E C# MN L2 D" 60 PLAY "L4 F# F# F# F# ML G E MN L2 F#" 70 PLAY "...
' ' *** DECL_EX.BAS - Programma esempio per l'istruzione DECLARE ' ' Genera 20 numeri casuali, li registra in una matrice, e li ordina. ' Il sottoprogramma di ordinamento viene chiamato senza la parolachiave CALL. DECLARE SUB Ordina (A() AS SINGLE, N AS INTEGER) DIM Matr1(1 TO 20) ' Genera 20 numeri casuali. ...
10 BEEP 60:WAIT 150 20 FOR i=15 TO 0 STEP -1 30 BEEP 30,i 40 WAIT 50 50 NEXT 60 BEEP 0 70 print "still alive"
Version =20 VersionRequired =20 PublishOption =1 Checksum =-1150427773 Begin Form Modal = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefau...
10 ! & ! Program name: chart2 Compiled with SCALE 0 on V07.0 & ! Decompiled on 24-Nov-16 at 02:11 AM 20 DIM F$(27%), T$(3%), T%(2%), T(42%), T1(22%), T2(30%,15%), T2$(30%) 30 IF FNO%(2%,"CHART.DAT","","") THEN & PRINT "ERROR";FNS%;"IN OPENING CHART OF ACCOUNTS FILE. ABORT." & \ GOTO 10000 40 OPE...
Version =20 VersionRequired =20 Begin Form DefaultView =0 TabularFamily =100 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =4539 DatasheetFontHeight =10 ItemSuffix =22 Right =13515 Bottom =7605 DatasheetGridlinesColor =12632256 RecSrcDt ...
100 ' KLEN サンプル {SJIS} 110 INPUT "漢字を含む文字列を入力してください";K$ 120 PRINT "この文字列の長さは";KLEN(K$);"です。"
atom=K contraction shell=S num_primitives=14 num_coefficients=1 462993.63536 .64028016192E-04 69363.630199 .49731928568E-03 15785.909524 .26062503289E-02 4470.3217497 .10860124338E-01 1457.6670074 .38021754621E-01 525.58244074 .11133229779 204.21593894 .25670081883 83.900484392 .39633709598 35.510791412 .29160629103 13...
20 SCREEN 2,2 30 SPRITE$(0)=STRING$(32,255) 40 PUT SPRITE 0,(112,80),1,0 50 PUT SPRITE 1,(10,80),8,0 60 IF (VDP(8)AND32)=32 THEN GOTO 90 70 PUT SPRITE 1,STEP(1,0),8,0 80 GOTO 60 90 BEEP:GOTO 90 
1 %TITLE "Payroll Time/Piece Report" %SBTTL "PR_RPRT_TRN_TIME_02" %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...
Beispielprogramm Nr. in Omikron-BASIC ' 10 'Vierstimmiges Akkord-Demo-Programm in Omikron-BASIC 20 PRINT "Akkord-Demo" 30 PRINT "Zum Beenden Taste drcken" 40 Sende_Kanal=1 50 Kein_Statusbyte=0 60 Midi_Init 70 REPEAT 80 Midi_Byte=FN Midi_In 90 Chk_Stat(Midi_Byte,Flag,Stat,Chn) 100 IF Flag=Kein_S...
5 REM 'WAR 3'. ORIGINAL 8K MODV FOCAL BY MIKE FURMAN 10 REM TSS/8 BASIC IV VERSION BY M E LYON JR 1972 15 DIM V(3),X(3),P(3),R(3,3) 20 DATA 1,2,2,3,3,1,1,3,3,2,2,1,2,3,3,1,1,2,0 25 PRINT "THIS IS THE BASIC VERSION OF 'WAR3'. TWO OR THREE MAY PLAY." 30 PRINT "DO YOU NEED INSTRUCTIONS";\INPUT A$\IF A$="YES" TH...
10 print vpeek("a") 20 print vpeek("b") 30 vpoke("a")=vpeek("b")+10 40 print vpeek("a") 50 end
Attribute VB_Name = "WEB_SERVICE_YAHOO_INDUSTRY_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 PUB_YAHOO_INDUSTRY_ELEMENTS As Variant ...
IF usercommand$(runcommands) = "msn" THEN speechoutput$ = "opening msn" speechprint$ = speechoutput$ GOSUB textprint GOSUB speechoutput SHELL _DONTWAIT _HIDE "start resources\urls\msn.URL" usercommands = -1 END IF
0001 REM THE VENERABLE STAR TREK COMPUTER GAME -- ANTTI J YLIKOSKI 12/19/2010 0002 REM ENTERED, MODIFIED AND DEBUGGED BY ANTTI J YLIKOSKI 0003 REM ORIGINALLY FROM: THE BEST OF CREATIVE COMPUTING, VOL 1, 0004 REM EDITED BY DAVID H. AHL, CREATIVE COMPUTING PRESS, 0005 REM P.O.BOX 789-M, MORRISTOWN, N. J. 07960, USA...
10 CLEAR : DIM S$(64)*22:CO=0 20 BEEP 1: INPUT "E,V,S,F,D,? > ";I$ 30 IF I$="E" THEN GOTO 100 40 IF I$="V" THEN GOTO 150 50 IF I$="S" THEN GOTO 200 60 IF I$="F" THEN GOTO 300 70 IF I$="?" THEN GOTO 450 75 IF I$="D" THEN GOTO 500 80 GOTO 20 100 CO=CO+1 105 IF CO>30 THEN GOTO 20 ...
Attribute VB_Name = "mDataSync" Option Explicit Public Const SYNC_DATE_TBL = "T_Last_Sync_Date" Public Enum enumSyncType promo = 0 COOP = 1 End Enum Public Sub SyncDatabase() Dim strUserID As String Dim strUserPermission As String Dim dteLastSyncLocal As Date Dim dteLastSyncRemote As ...
CLS SOUND 100, 1 SOUND 200, 2 BEEP SOUND 200, 2 SOUND 100, 2 BEEP SOUND 300, 3 SOUND 200, 4 SOUND 400, 3 SOUND 500, 6 BEEP SOUND 400, 4 SOUND 500, 5 SOUND 600, 2 BEEP SOUND 300, 7 SOUND 400, 7 SOUND 200, 7 BEEP SOUND 700, 7 SOUND 600, 7 SOUND 200, 3 SOUND 100, 4 SOUND 300, 4 BEEP BEEP SOUND 5...
DEF FNf (x) = INT(x) - 10 * INT(x / 10) CLS FOR b = 1 TO 9 FOR s = 1 TO 9 i = b DO t$ = t$ + STR$(i) i = i + s IF i >= 10 THEN i = FNf(i) LOOP UNTIL i = b PRINT VAL(t$); t$ = "": NEXT PRINT NEXT DO LOCATE 10, 1: INPUT "Enter start and step: ", b, s b = FNf(b): s = FNf(s): i = b LOCATE 11, 8: PRINT ...
10 REM APPLESOFT PONG BY VECTRONIC 20 HOME 100 GOSUB 3000 110 X = 11: Y = 12: Z = 13: XB = 31: YB = 12: S = 0 120 COLOR= 9: PLOT X,Y: PLOT X, Z: COLOR= 13: PLOT XB,YB 130 T= PEEK (-16384) 140 IF T = 139 AND Y < > 1 THEN 300 150 IF T = 138 AND Z < > 29 THEN 400 160 IF X + 1 = XB AND Y = YB THEN 4000 170 IF X + 1 = XB AN...
10 REM TEST INTEGER TYPE 20 A%=1%:B%=2%:C%=3%:D%=4% 30 A1%=A%/B%:B1%=B%/C%:C1%=C%/D% 40 A2%=B%/A%:B2%=C%/B%:C2%=D%/C% 50 E%=10:E1%=10.1:E2%=10.5:E3%=10.7 60 F1%=INT(3.14159) 80 PRINT A%;A1%;A2% 82 PRINT B%;B1%;B2% 84 PRINT C%;C1%;C2% 86 PRINT D%;D1% 88 PRINT E%;E1%;E2%;E3% 90 PRINT F1% 99 END
Attribute VB_Name = "MOD_Database" Option Explicit 'create local connection Public cn As New ADODB.Connection 'create permanent recordsets Public rsCLIENTPROGRAMS As New ADODB.Recordset Public rsEMPLOYEE As New ADODB.Recordset Public rsTIMECODE As New ADODB.Recordset Public rsUSERACCOUNT As New ADODB.Reco...
10 T=0.5 20 X=T*T+T 30 A$="FRED" 40 FORT=1TOLEN(A$):?T:NEXT
10 GOTO 1000 100 PROC foo(a):@a=@a+1:RETURN 110 PROC bar:@l=5:CALL foo(3):PRINT @l:RETURN 1000 CALL bar
100 REM genau.bas 110 REM 120 REM Frage: Wie weit muessen die Potenzreihen im Algorithmus von 130 REM Borodin, von zur Gathen und Hopcroft entwickelt werden? 140 REM 150 DEFDBL "A-Z" 160 INPUT "Stellen? ";S# 170 IF S#>19 THEN PRINT "zu gross": END 180 FOR I#=1 TO S# 190 :A#=10^(-I#) 200 :B#=1-A# 210 :...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 ...
NAME mik.250-1-100.1 FREEIEEE XU C0002 R0001 A+3hSeOx6w0b XU C0003 R0002 B+35KeUW1I75 XU C0004 R0003 E+3yG8Ze4Uld XU C0005 R0004 J+3K30e051ke XU C0006 R0005 H+3Bwc2O39f5 XU C0007 R0006 E+33Y3+0fNf0 XU C0008 R000...
REM !! BNOTES.BAS - The main program module for BNOTES. REM !! Michael J. Freidel, 2019 REM !! View README.MD for a simple walkthrough of the code. '$INCLUDE: 'BN-DECLR.BI' '$INCLUDE: 'BN-VER.BI' REM !! ---- Start init section ---- !! REM !! Check to see if the setup script was run. REM !! End the progra...
Attribute VB_Name = "MOD_CheckFullScreen" '--------------------------------------------------------------------------------------- ' Module : MOD_CheckFullScreen ' DateTime : 10/7/2010 10:12 ' Author : Mauro Biefeni ' Purpose : This module is intended to detect if a game is running '---------------------...
20 read name$ 22 print name$ 30 read country$,age 33 print country$ 44 print age 100 data "ivan","Poland",15,"Male"
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools =============================================================================== FILE: Virus.MSWord.Ded.m Type: OLE ------------------------------------------------------------------------------- VBA MACRO ThisDocument.cls in file: Virus.MSWord....
1 %TITLE "Accounts Payable Register Maintenance" %SBTTL "AP_MAST_REG_MAINT" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1987, 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 licens...
IF usercommand$(runcommands) = "youtube" THEN speechoutput$ = "opening youtube" speechprint$ = speechoutput$ GOSUB textprint GOSUB speechoutput SHELL _DONTWAIT _HIDE "start resources\urls\youtube.URL" usercommands = -1 END IF
0 L=1:POKE 55,255:POKE 56,27:V=53248:FOR I=1 TO 54:READ R:NEXT 1 PRINT"{clear}":POKEV+32,3:POKEV+33,1:FORI=12544TO12551:POKEI,0:NEXT:POKEV+24,28 2 POKE54296,10:POKE54276,0:POKE54278,240:FORI=12288TO12407:READR:POKEI,R:NEXT 3 POKE 54290,0:POKE 54292,240 4 P=11:DIM L(3),SP(3):FOR I=1 TO 3:L(I)=0:SP(I)=0:NEXT 5 S=0:SC=102...
0 REM Graphics Fill 5 P1=IN(18):P2=IN(27) 10 OUT 18,0: OUT 27,2: REM Graphics Mode 15 X=6144:A=0 20 POKE 1,X,A 21 POKE 1,X+6144,A 22 POKE 1,X+12288,A 23 POKE 1,X+18432,A 24 POKE 1,X+24576,A 25 POKE 1,X+30720,A 26 POKE 1,X+36864,A 27 POKE 1,X+43008,A 29 ZZ=IN(48):IF ZZ>64 THEN IF ZZ<128 THEN GOTO 200 30 A=A+1:IF A>255 T...
#PBFORMS CREATED V2.01 '------------------------------------------------------------------------------ ' The first line in this file is a PB/Forms metastatement. ' It should ALWAYS be the first line of the file. Other ' PB/Forms metastatements are placed at the beginning and ' end of "Named Blocks" of code that should ...
'btn 21.bas SmallBASIC 0.12.2 [B+=MGA] 2016-03-24 'massive overhaul from Black Jack games that started with funky MS Small Basic code 'translated to SmallBASIC 0.12.2 then SdlBasic then JB then back to SmallBASIC 0.12.2 'under new names for game and variables and procedures, orig code had over 300 lines 'called TWENT...
10 '************************ 20 '* * 30 '* PATTERN * 40 '* * 50 '************************ 60 SCREEN 2 70 DIM VERT%(120) 80 KEY OFF 90 CLS 100 INPUT "enter radius (range 10-170)";R 110 INPUT "enter number of vertices (range 3-50)";V 120 CLS 130 X0=360+R*...
1 REM 2 REM Conways game of life 3 REM Teemu Leppanen (tjlepp@gmail.com) 5 REM 6 REM *** initialize *** 10 LET s=12: LET z=s-1: LET r=1 12 DIM c(s,s): DIM n(s,s) 20 RANDOMIZE 30 FOR i=2 TO z: FOR j=2 TO z 35 LET c(i,j) = INT (RND *2) 38 NEXT j: NEXT i 50 REM *** print board *** 52 CLS 54 PRINT " * Conway's Game of ...
'----- SCHED_MsgFiler ---------------------------------------------------- ' ' This subroutine is scheduled by the user to capture the RECENT.DAT ' files and save them to a larger file family that preserved them ' grouped by days. That is, each file is one day of messages. ' ' When run with t...
' COUNTMM.FRM Option Explicit Sub Command3D1_Click () Dim l0020 As Variant Dim l0038 As Variant Dim l003E As Variant Dim l0046 As Variant If Option3D1.Value = True Then l0020 = "New Mail" If Option3D2.Value = True Then l0020 = "Old Mail" If Option3D3.Value = True Then l0020 = "Outgoing Mail" If Option3D4.Value = T...
10 MODE8:DIM:GOSUB900:c$=CHR$(5):f=95:DEFCHR$(252)="123E020000":DEFCHR$(253)="2E2A3A0000":r=0:s=0:t=0:u=0 45 CLS:PRINT"B(1,pü),B(1,pý) a<pü-pý<b"; 50 z=r:s$="nü":GOSUB500:r=z 60 z=s:s$="„xü":GOSUB500:s=z 70 z=t:s$="ný":GOSUB500:t=z 80 z=u:s$="„xý":GOSUB500:u=z 90 CLS:PRINT"Confidence level (1-ˆ)[%]"; 95 z=f:s$="1-ˆ":GO...
_TITLE "Screen 0 as LED" CONST ROUND = 0, SQUARE = 1 TYPE Sign Screen AS LONG ' the Sign screen to show on screen Image AS LONG ' the Sign image to work on in the background Mask AS LONG ' the Sign mask to place over the Sign image END TYPE DIM SHARED Sign AS Sign MAKELED 640, 400, 2, ROUND DIM SHA...
10 input"sort how many items";n:b=n-1:dim n$(b),i(2*b) 20 for j=0 to b:n$(j)=str$(rnd(1)*100):next 30 print"sorting:-" 2000 x=0:for j=0 to b:i(j)=j:next 2005 for j=0 to 2*n-3 step 2:b=b+1 2010 i(b)=i(j):if n$(i(j+1))<n$(i(j)) then i(b)=i(j+l) 2015 next 2020 x=x-1:c=i(b):if c<0 then end 2025 print n$(c) 2030 i(...