text
stringlengths
7
5.36M
Global winsys$ 'windows system director Global destdir$ 'destination dir Global modified Function fileExist (filename$) 'Function checks if a file exists. 'First see if it's in an archive: On Error GoTo errcatch file$ = filename$ num = FreeFile Open file$ For Input As #num Close #n...
Attribute VB_Name = "mdlPassDefine_MK" Option Explicit 'PASS接口函数,具体说明参见PASS接口文档描述 '-------------------------------------------------------------------------------------------------------------------------------------- '美康接口定义 version = 3.0 '---------------------------------------------------------------------------...
5 a = 300 pet = 0 b = 302 c = 258 d = 339 e = 275 f = 347 g = 340 h = 250 i = 350 j = 278 k = 315 l = 297 o = 300 p = 240 q = 255 r = 257 s = 340 t = 334 cc = 500 ff = 50 dd = 35 bb = 515 aa = 485 ee = 35 v = 387 w = 396 x = 257 y = 270 z = 225 xx = 227 SCREEN 12 VIEW (0, 0)-(600, 400)...
1DEFINTA-Z:INPUTR:U=R+R-2:H=U-1:T=R*0.7071!:FORI=3TOT+T+1STEP2:IF0<=UTHENU=U-IELSEU=U+H-I:H=H-2 2R=R+H:NEXT:PRINT4*(R+T-(R<3)-T*T)+1
10 ! & ! Program name: conent Compiled with SCALE 0 on V07.0 & ! Decompiled on 28-Nov-16 at 04:11 PM 50 DIM M1$(23%), M$(24%), M2$(36%), M(37%), E$(59%), T(37%) 110 OPEN "KB:" AS FILE 1%, RECORDSIZE 512%+64%+128% 120 INPUT "WHICH YEAR ";E$ & \ E$="FL" IF E$="" & \ GOTO 2990 IF E$="?" & \ E$=RIGHT(E$,L...
DECLARE SUB Meny () DECLARE SUB PlayGame () DECLARE SUB Instruct () DECLARE SUB Story () DIM SHARED SEL SEL = 1 SCREEN 13 FOR i = 16 TO 31 COLOR i LOCATE 12, 15 PRINT "WELCOME TO" FOR D = 1 TO 150 NEXT NEXT FOR i = 31 TO 16 STEP -1 COLOR i LOCATE 12, 15 PRINT "WELCOME TO" FOR D = 1 TO 150 NEXT NEXT ...
1 %TITLE "Clean Junk <Zero> records from Register" %SBTTL "PR_SPEC_CLEANREG" %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 wi...
'********** FULLNAME.BAS - returns a full qualified file name (w/drive & path) 'Copyright (c) 1989 Ethan Winer DEFINT A-Z DECLARE FUNCTION FullName$ (PartName$) DECLARE FUNCTION WhichError% () PRINT : PRINT : PRINT PartName$ = "..\QB.EXE" PRINT CHR$(34); PartName$; CHR$(34); " ==> "; PRINT CHR$(34); FullName$(Par...
10 REM TEST OF PLOT 20 MAT PLOT 99 END
10 poke 646,1:print chr$(147); 20 poke 53280,0:poke 53281,0 40 print "bit fiddler / egonolsen71 - 2022" 45 poke 646,5:print "q - quit, x - clear, 0-7 and . to set" 46 poke 646,1 50 y=4:t$="stuck bits (0/1 or . for normal)":gosub 10000 60 y=10:t$="connected/shorted bits":gosub 10000 70 gosub 15000 80 gosub 20000 90 gosu...
1020 REM =============>RENUMBER<=============== 1030 TEXT : HOME : INVERSE : SPEED= 255 1040 S$ = "&": GOSUB 1080: VTAB 2: GOSUB 1090 1050 VTAB 3: PRINT "&";: HTAB 12: PRINT "APPLESOFT RENUMBER";: HTAB 40: PRINT "&": VTAB 4: GOSUB 1090 1060 VTAB 5: PRINT "&";: HTAB 4: PRINT "COPYRIGHT APPLE COMPUTER,INC. 1978";: HT...
Attribute VB_Name = "ModuleH" 'Dex3D 'A Visual Basic 3D Engine ' 'Copyright (C) 1999 by Jerry J. Chen ' 'This program is free software; you can redistribute it and/or 'modify it under the terms of the GNU General Public License 'as published by the Free Software Foundation; either version 2 'of the License, or...
90 REM *TAPE FORMATTER TO LOAD MOTOROLA 6800 MICRO W/MINIBUG CONTROL* 92 REM 51/00-8013/0 95 PAGE 100 INIT 110 DIM A$(256),B$(4) 115 PRINT "INSERT YOUR DATA TAPE!." 120 PRINT "INPUT FILE NUMBER "; 130 INPUT N1 132 PRINT "CONFIRM THAT FILE ";N1;" IS THE DATA FILE "; 133 PRINT "TO BE WRITTEN TO: Y OR N?" 135 IN...
10 :REM'SATORBIT - satellite orbit - 14 MAR 95 rev.13 APR 97 20 IF EX$=""THEN EX$="EXIT" 30 CLS:KEY OFF 40 COLOR 7,0,1 50 PI=3.1415929794311523! 60 RE=3963.340087890625! :REM'radius of earth 70 SL=186*10^3 :REM'speed of light (miles per second) 80 E$=STRING$(80,32) 90 UL$=STRING$(80,205) 100 U1$="###,###" 11...
Attribute VB_Name = "FINAN_FI_HW_2F_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_CAP_VAL As Double Private PUB_NOM_VAL As Doubl...
1 %TITLE "Buy off Journal Entry" %SBTTL "WP_MAST_BUYOFF" %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 ...
100 REM MAKE TILES 4BPP 110 REM RANDALL BOHN 2019.10.12 120 GOSUB 2100 :REM RANDOM TILES 130 GOSUB 400 :REM FILL PALETTE 140 GOSUB 300 :REM SET UP LAYER ONE 150 GOSUB 200 :REM PUT TILES ON SCREEN 160 END 200 REM RANDOM TILE FILL 210 FOR X = 40 TO 79 220 FOR Y = 0 TO 31 230 TX=INT(RND(1)*4)+1 240 VPOKE 0,16*1024+256*Y+...
10 SCREEN 1:KEY OFF 20 DATA 24,60,126,255,24,24,24,24 30 FOR N=1 TO 8 40 READ A 50 F$=F$+CHR$(A) 60 NEXT 70 SPRITE$(1)=F$ 80 PUT SPRITE 1,(0,0) 90 GOTO 90 
10 REM 'IF-THEN' TEST PROGRAM 20 X=30 30 IF X=30 THEN 60 40 PRINT "THE IF-THEN STATEMENT FAILED THE TEST" 50 GOTO 99 60 PRINT "THE IF-THEN STATEMENT PASSED THE TEST" 70 IF X=30 THEN X=X+90 80 PRINT "X=";X 90 PRINT "IF-THEN PASSED THE TEST IN LINE 70 IF X=120" 99 END
Dim Dlg_data$[256] Dim Dlg_data_count Sub Dlg_GetData() f = FreeFile FileOpen(f, "dlg_data.nb", TEXT_INPUT) s_data$ = ReadLine$(f) Dlg_data_count = 0 While s_data$ <> "" Dlg_data$[Dlg_data_count] = s_data$ Dlg_data_count = Dlg_data_count + 1 s_data$ = ReadLine$(f) Wend FileClose(f) End Sub
1 %TITLE "Blank Out a Series of Checks by Number" %SBTTL "WP_SPEC_BLANKREQJOUR" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1997 BY ! Software Solutions, 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 !...
Attribute VB_Name = "EROneToNoneMany" Public Sub OneToMany() ' ' OneToOn Macro ' ' ' 選択せるの座標を記録 Dim SelectionTopXPosition As Integer SelectionTopXPosition = Selection.Left Dim SelectionTopYPosition As Integer SelectionTopYPosition = Selection.Top ' 線を追加 Dim Select1 As Shape Set Select1 =...
100 ' SPACE$ sample {GRPH} 110 WIDTH 80,25 120 FOR I=-6 TO 6 130 A$=CHR$(&H88)+SPACE$(I^2)+"*" 140 PRINT A$ 150 NEXT I 160 END
'BFI2.BAS -- BF program emulator 'faster than BFI3/4 DEFINT A-Z DECLARE SUB BF (E) '$DYNAMIC DIM M(29999) P = 0: IP = 0 LOCATE , , 1', 0, 31 'get program data F$ = COMMAND$ IF F$ = "" THEN INPUT "Enter filename of BF source [.BF]: ", F$ F = INSTR(F$, "."): IF F = 0 THEN F$ = F$ + ".BF" 'S$ = ",+[-.,+]ÿ" OPEN F$ FOR BI...
10 PRINT "Applesoft Read Test Program" 20 PRINT CHR$(4)"OPEN TEXT" 30 PRINT CHR$(4)"READ TEXT":INPUT F$:PRINT F$ 30 PRINT CHR$(4)"READ TEXT":INPUT F$:PRINT F$ 50 PRINT CHR$(4)"CLOSETEXT" 100 END
' Program "DEMOGRAD.BAS" Janaury 7, 1993 ' ' Copyright (c) 1993 Crescent Software ' ' This program demonstrates the procedure for calling ' subroutine NUMGRAD which numerically estimates the ' gradient of a user-defined analytic equation. ' ' NUMGRAD requires a subroutine called USERFUNC which ' returns t...
FOR I=0 TO 5000 CLS SCREEN 0 COLOR 14,1 LOCATE 10,5 PRINT " DOBRY DEN! JAK SE MATE ? " A$=INKEY$ IF A$="X" THEN KONEC FOR B=0 TO 300 NEXT B NEXT I KONEC: CLS
10 REM Blockbuster--playfield. 100 DEFINT A-Z:SCREEN 1,0:COLOR 0,1:KEY OFF:CLS 130 LINE(0,0)-(319,199),2,BF:LINE(80,20)-(241,185),0,BF 
DEFINT A-Z ' $INCLUDE: 'SVGABC.BI' ' $INCLUDE: 'COMMON.BI' DIM SHARED Enter AS STRING * 1 DIM SHARED LF AS STRING * 1 DIM FONT AS STRING * 4098 REDIM SHARED Title$(2) REDIM SHARED FPos(13, 2) AS LONG REDIM SHARED MainMenu(5) AS STRING * 20 REDIM SHARED EditMenu(4) AS STRING * 12 REDIM SHARED CopyMenu(6) AS ST...
100 DEFINTA-Z:COLOR15,0,0:SCREEN1 110 FORI=0TO767:VPOKE&H1800+I,IAND255:NEXT 120 FORI=0TO15:FORJ=0TO31:VPOKE&H4000+I*32+J,(I+J*16)AND255:NEXTJ,I 130 VDP(10)=1:R3=0 140 VDP(3)=R3:R3=(R3+1)AND15:FORI=0TO1000:NEXT:GOTO140
5 SCREEN 2:PRINTCHR$(147);:GOSUB50000 10 TI$="000000":WE=1:BR=8:BL=6:GR=5:SC=11 20 INPUT"X-COORDINATE: X=";X1 30 INPUT"Y-COORDINATE: Y=";Y1 40 XC=X1:YC=Y1 50 GOSUB 10000 60 PRINT"HEIGHT AT ";X1;"/";Y1;":";INT(Z*1000+.5)/1000 70 INPUT"VIEWER'S HEIGHT: Z=";H:IF H<Z THEN 60 80 INPUT"VIEWING ANGLE: W=";KU 85 GOSUB 30000:GO...
REM ***************************************** REM *** Dice - Atoms 2.0 *** REM *** A Simulation of Radioactive Decay *** REM ***************************************** REM REM written by Michael Goerz; 6/2/2000; Freeware ...
10 c$="{right*39}":r$="{down*24}" 500 print"{home}";left$(c$,10);left$(r$,10);"comment"
1 CLS INPUT "Welchen Modus m”chtest du sehen [Disko (d) oder Haschisch (h)]"; Modus$ SCREEN 9 CLS DO IF Modus$ = "h" GOTO 10 CLS 1 10 RANDOMIZE TIMER x = INT(RND * 624) + 1: y = INT(RND * 320) + 1: c = INT(RND * 15) + 1 A = INT(RND * 614) + 1: S = INT(RND * 310) + 1: D = INT(RND * 15) + 1 q = INT(RND * 619) +...
10 PRINT "PROGRAM FILE 25: MULTIPLY, DIVIDE, AND INVOLUTE" 20 PRINT " ANSI STANDARD 7.2, 7.4" 30 PRINT 40 PRINT "THIS PROGRAM TESTS THE GROSS SEMANTIC CHARACTERISTICS OF" 50 PRINT "THE MULTIPLY, DIVIDE, AND INVOLUTION OPERATORS FOR THE" 60 PRINT "CONSTRUCTION OF NUMERIC EXPRESSIONS." 70 PRINT 80 PRINT "EXPRESSIONS U...
100 REM BASIC Month 4: Lunar Corps 110 REM http://reddit.com/r/RetroBattlestations 120 REM Original written by FozzTexx 130 REM ZX Spectrum version by papa_robot 200 REM Clear screen and setup variables 205 LET w=7: LET b=1: LET PEAK=0: LET T$="": LET o$="" 210 BORDER 0: PAPER 0: INK w: CLS: RANDOMIZE:PRINT AT 21,0;""...
CLS DIM casenum AS INTEGER, lens AS INTEGER, a AS INTEGER DIM max AS INTEGER, i AS INTEGER, j AS INTEGER DIM s AS STRING, ans AS STRING DIM cnt(0 TO 25) AS INTEGER a = ASC("a") OPEN "letter.in" FOR INPUT AS #1 OPEN "letter.out" FOR OUTPUT AS #2 FOR casenum = 1 TO 5 INPUT #1, s FOR i = 0 TO 25 cnt(i...
@ERASE @INIT 10 10 A = pioset 20 11 A = pioout 9 12 A = pioclr 9 13 RETURN @IDLE 20 @ALARM 20 20 FOR A = 0 TO 100 21 R = A; 22 B = pwm 9; 23 B = delayms 10 24 NEXT A 25 FOR A = 0 TO 100 26 R = 100-A; 27 B = pwm 9; 28 B = delayms 10 29 NEXT A 30 ALARM 1 31 RETURN
Version =20 VersionRequired =20 Begin Form PopUp = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault OrderByOn = NotDefault AllowDesignC...
Attribute VB_Name = "modCostas" Option Explicit Public Sub PutCoast() Dim aux As Long Dim X As Integer Dim y As Integer On Error Resume Next Static antAux(4) As Byte 'Para el movimiento del grh _ (como las costas de pasto estan compuestas por 2 grhs c/u en...
10 REM ALTITUDE AND AZIMUTH 12 REM 14 P=3.14159265: R1=P/180 16 INPUT "R A (H,M,S) ";A$,A2,A3 18 GOSUB 72: R=A*15*R1 20 INPUT "DEC (D,M,S) ";A$,A2,A3 22 GOSUB 72: D=A*R1 24 INPUT "LAT, LONG ";B,L 26 B=B*R1: L=L*R1 28 INPUT "GST (H,M,S) ";A$,A2,A3 30 GOSUB 72: T=A*15*R1 32 T5=T-R+L: REM LHA 34 S1=SIN(B...
10 :REM'MOWHIP - mobile/whip antenna - 13 JAN 94 rev. 26 NOV 2010 20 IF EX$=""THEN EX$="EXIT" 30 PROG$="mowhip" 40 COMMON EX$,PROG$,U,UH,FQ,WHIP 50 CLS:KEY OFF 60 COLOR 7,0,1 70 DIM S(9,7) :REM'single element data 80 DIM D(9,8) :REM'double element data 90 UL$=STRING$(80,205) 100 U1$="#####.##" 110 U2$="#####.###" 120...
' Каков результат выполнения данной программы? ' ·∙йидаги дастур √андай натижа беради? 10 FOR i = 32 TO 99: a = i * i 20 m = INT(a / 100): n = a - m * 100 30 m1 = INT(m / 10): m2 = m - m1 * 10 40 n1 = INT(n / 10): n2 = n - n1 * 10 50 IF m1 = m2 AND n1 = n2 THEN PRINT a, i 60 NEXT #1 7744 88 #2 7744 ...
2 PRINT TAB(33);"HELLO" 4 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 6 PRINT: PRINT: PRINT 10 PRINT "HELLO. MY NAME IS CREATIVE COMPUTER." 20 PRINT: PRINT: INPUT "WHAT'S YOUR NAME";N$: PRINT 30 PRINT "HI THERE, ";N$;", ARE YOU ENJOYING YOURSELF HERE"; 40 INPUT B$: PRINT 50 IF B$="YES" THEN 70 5...
Version =20 VersionRequired =20 PublishOption =1 Checksum =-1641640747 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault ScrollBars =2 PictureAlignment =2 DatasheetGridlinesBehavi...
Version =20 VersionRequired =20 Begin Form PopUp = NotDefault RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =17...
10 POKE 20,0 :POKE 19,0:POKE 20,0 20 FOR A=1 TO 15 30 X=0 : C=0 40 FOR B=1 TO 200 45 C=B+2*B 50 X=X+B*2 55 C=(C-B)/2 60 NEXT B 70 NEXT A 80 PRINT PEEK(19) 90 PRINT PEEK(20) 990 POKE 764,255 999 IF PEEK(764)=255 THEN 999
box = 5 FOR z = 1 TO box - 3 y = y + 4 NEXT z PRINT y REM output 8
1 ! THE FOLLOWING PROGRAM IS DESIGNED TO BUILD THE DISK FILES 2 ! NEEDED TO PLAY MONOPOLY, TWO FILES MUST BE BUILT, THE FIRST 3 ! CONTAINING THE NAMES OF THE PROPERTY, THE SOLD AND UNSOLD 4 ! FLAGS, THE PRICES OF THE PROPERTY, AND THEIR RENTS. 5 ! THE SECOND FILE CONTAINS THE CHANCE AND THE COMMUNITY 6 ! CHEST MESSAGES...
10 b=20 20 c=2000 30 dim a(b) 40 srand 50 for i=1 to c 60 z=rand(b-1) 70 a(z)=a(z)+1 80 next i 90 for i=0 to b-1 100 print a(i), 110 next i 120 print "" 130 end
atom=B contraction shell=S num_primitives=1 num_coefficients=1 2.454000 1.000000 contraction shell=S num_primitives=1 num_coefficients=1 6.430000 1.000000 contraction shell=P num_primitives=1 num_coefficients=1 3.498000 1.000000 contraction shell=P num_primitives=1 num_coefficients=1 14.37200 1.000000 contraction shell...
Attribute VB_Name = "MiscCompact" Option Explicit 'The following is code is from different sources and used as workaround for VB specifc issues 'Appropriate Credits will be provided for each part 'Create Directory tree if it does not exist Private Declare Function MakeSureDirectoryPathExists Lib "imagehlp.dll" (ByV...
Attribute VB_Name = "Module1" Public cd As Double, ob As Double, mp As Double, mc As Double, ap As Double, ac As Double Public ms As Double, ec As Double, e2c As Double, lr As Double, d As Double Public ch As Double, P As Double, T As Double, aas As Double, pi As Double, pi2 As Double Public Initialize As Boolean, Heig...
10 DEFM 20 $="WoodIronironPuttputt ?603010 5";V=0 30 PRINT "GOLF GAME";: GOSUB 1000; PRINT "BESTSCORE";0;:GOSUB 1000 40 FOR I=1 TO 17 STEP 4: PRINT MID$(1,4);"=max";MID$(I-1)/2+21,2); 50 GOSUB 1000; NEXT I 60 PRINT "♠♠♠♠♠・・・・-10";:GOSUB 1000 70 FOR H=1 TO 9:Q=INT(RAN#*5+12): PRINT H;":PAR";Z;L;:GOSUB 1000 80 PRINT R;: ...
OPTION EXPLICIT OPTION DEFAULT NONE OPTION BASE 0 OPTION CONSOLE SERIAL #INCLUDE "../INC/Dummy.inc" #INCLUDE "../INC/Utility.inc" #INCLUDE "../INC/Palette.inc" #INCLUDE "../INC/Sheet.inc" #INCLUDE "../INC/Box.inc" #INCLUDE "../INC/Background.inc" #INCLUDE "../INC/TileEngine.inc" #INCLUDE "../INC/Frame.inc"...
Attribute VB_Name = "YmodBioDevel" Option Explicit '**************************************************************************************************** Function mFastaToArrayOfFasta(FASTASequence As String, _ Optional SequenceCase As String = "UPPER", _ ...
0REM SOLITAIRE 1DIMA3 2P.$12;IN."INSTRUCTIONS (Y/N)"$A 3IF$A="Y" GOS.3000 5M=0;?#B002=8 10P.$12;?#E1=0 20Z=#800B;W=#0F 30X=#802C;?#8000=32 40P.$21;P=#21C;[JSR#FE71;STY#80;RTS;];P.$6 50F.N=Z TO (Z+6);?N=#FF;N.N;Z=Z+32;F.N=Z TO (Z+6)S.2;?N=#FF 60N.N;M=M+1;IF M<7;Z=Z+32;G.50 70Z=Z+32;F.N=Z TO (Z+6);?N=#FF;N.N 75Z=#8087;M...
10 for s=0 to 10 20 print s 30 let a = spawn 40 kill a 50 next
Version =20 VersionRequired =20 Checksum =-1833414417 Begin Form NavigationButtons = NotDefault FilterOn = NotDefault OrderByOn = NotDefault AllowDesignChanges = NotDefault ScrollBars =2 TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 W...
Attribute VB_Name = "basRibbon" '----------------------------------------------------------------------------------------------------- ' ' [RelaxTools-Addin] v4 ' ' Copyright (c) 2009 Yasuhiro Watanabe ' https://github.com/RelaxTools/RelaxTools-Addin ' author:relaxtools@opensquare.net ' ' The MIT License (MIT)...
1 %TITLE " Backorders Report" %SBTTL "OE_RPRT_REGBACK" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 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 ! the inclusion...
10 ' ******************************************************* 20 ' ** THIS PROGRAM CONVERTS WGS TO PRS AND VISE VERSA ** 30 ' ** <<<< develop by Jiggy de Jesus >>>> ** 40 ' ** 13 December 1994 ** 50 ' ****************...
FILENAME$="tgraph" pi=4*atn(1) rem tmin AND tmax ARE THE MINIMUM AND MAXIMUM VALUES OF t tmin=-2 tmax=2 rem n IS THE NUMBER OF POINTS IN THE GRAPH --- 200 WILL BE ENOUGH rem UNLESS THE FUNCTION IS VERY BUMPY n=200 rem INPUT NUMBER OF FUNCTIONS nf%=2 rem DEFINE FUNCTIONS HERE def fnx(fi%,t) if fi%=...
CLS PRINT MID$("Hello", 4, 2)
1 rem check disk -- ver 1.4 2 dn=8:rem floppy device number 5 dimt(100):dims(100):rem bad track, sector array 9 print"{clr}{down}{down}{down}FFFFFFFFFFFFFFFFFFFFF" 10 print" check disk program" 12 print"DDDDDDDDDDDDDDDDDDDDD" 20 d$="0" 30 open15,dn,15 35 print#15,"v"d$ 45 n%=rnd(ti)*25...
1 rem character building 2 rem *********************** 3 rem 130 poke 53280,2:poke 53281,2 140 print "* character building *" 150 poke 828,0 160 run 170 170 cs=12288 175 poke 56334,peek(56334) and 254:poke 1,peek (1) and 251 180 for i=cs to cs+2047 190 poke i,peek(53248+i-cs) 200 next i 205 poke 1,peek (1) or 4:poke 56...
randomize timer pasta=1000 tirar=50 cls color 15 fimfam: if pasta=<0 then print"T'HAS QUEDAT SENSE UN DURO!":?"T'ESTů BÉ PER ARRISCAR-TE!":end if tiro=<pasta then tirar=tiro if tiro>pasta then ?"No tens prou pasta!!" ?"T ═> Tirar, P ═> Pasta que vols tirar, S ═> Sortir" ?"Tens"pasta"pts. i tirarůs"tirar"pts...
SCREEN 0 CLS COLOR 4,15 S=0 Z=0 LOCATE 4,23 PRINT "PROGRAM PRO ZKOUSENI SCITANI" PRINT " " V=TIMER V=INT(((V-INT(V)+.3)*200)) REM puvodne bylo + .2 )*100 FOR I=1 TO 15 A(I)=INT(RND*V+1) A(I)=A(I)+1 B(I)=INT(RND*V+1) B(I)=B(I)+1 VYP: REM pokud je A vetsi než 100 zmenšit IF...
NOMAINWIN MENU #1, &Nouveau, &Personnage, [P1], &Armes, [AR1] MENU #1, &Charger, &Personnage, [P2], &Armes, [AR2] MENU #1, &Informations, &Info, [APD], &LibertyBasic, [LB] MENU #1, &Quitter,&Quitter, [Quitter] WindowWidth = 400 WindowHeight = 400 OPEN "Maker Perso v1.0" for graphics_nsb as #1 rondcoul$="black" carreco...
2 CLS LET a = 0 LET b = 0 LET c = 0 1 CLS COLOR 6, 6 PRINT " " PRINT " "; COLOR a, a PRINT " "; COLOR b, b PRINT " "; COLOR c, c PRINT " "; COLOR 6, 6 PRINT " " PRINT " " COLOR 15, 0 INPUT "1=First slot 2=Seccond slot 3=Third slot 4=Enter Combo"; d IF d = 1 THEN GOTO 1000 IF d = 2 THEN GOTO 2000 IF d = 3 ...
10 REM MACHINE ENCODING AND DECODING PROGRAM. 15 LET N0 = 100 20 DIM L(N0) 30 FOR I = 1 TO N0 40 READ L(I) 50 IF L(I) >= 0 THEN 60 55 BREAK 60 NEXT I 70 LET I9 = I-1 100 PRINT "PLEASE TYPE KEY (5 NUMBERS)"; 110 INPUT K(1), K(2), K(3), K(4), K(5) 120 PRINT 130 PRINT "TYPE '0' FOR ENCODING, '1' FOR DECODING"; 1...
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 REM Fibonacci 10 a=0:b=1 15 for x=1 to 40 20 c=b+a:print c:a=b:b=c 30 next x
10 LPRINT "LINE NUMBER 1.":LPRINT "LINE NUMBER 2."; 30 LPRINT CHR$(12); 40 LPRINT "LINE NUMBER 3.":LPRINT "LINE NUMBER 4." 50 LPRINT CHR$(11); 60 LPRINT "LINE NUMBER 5.":LPRINT "LINE NUMBER 6." 
10 REM REPRESENTING A DECIMAL 12 REM VALUE BY A CONTINUED 14 REM FRACTION 16 REM 18 ' DEFDBL A-H,K-Z 20 ' DEFINT I,J 22 C1=1: O=99999 24 O1$="##### ########## /" 26 O2$="= ##.#############" 28 REM 30 P=1E12 32 DIM F(100) 34 INPUT "DECIMAL VALUE";K 36 PRINT 38 I=-1 40 I=I+1 42 F(I)=INT(K): IF I>=1 THEN 46 44 N=F(...
DECLARE SUB DisegnaMotivo () DECLARE SUB ModificaMotivo () DECLARE SUB Inizializza () DECLARE SUB MostraMotivo (OK$) DIM Bit%(0 TO 7), Motivo$, Esc$, DimensMotivo% DO Inizializza ModificaMotivo MostraMotivo OK$ LOOP WHILE OK$ = "S" END ' ' ======================== DisegnaMotivo ============...
OPEN "unsorted.dat" FOR BINARY AS #1 RANDOMIZE TIMER FOR k = 1 TO 100 s$ = "" FOR i = 1 TO 40 j = INT(((90 - 65) + 1) * RND + 65) s$ = s$ + CHR$(j) NEXT i PUT #1, , s$ NEXT k END
SCREEN 0, 0: WIDTH 80: COLOR 7, 0, 0 DEFINT A-Z CW = 0 HW = 0 START: RANDOMIZE TIMER N = 23 DUMB = 0 CLS GOSUB SHOWMATCHES PRINT PRINT " ******************** "; : COLOR 4, 0: PRINT "23 MATCHES GAME"; : COLOR 7, 0: PRINT " ********************" PRINT " ** ...
NAME neos-4359986-taipa FREEIEEE XL C0001 R0001 i+3wJfwQ1dy0 XL C0002 R0002 i+3wJfwQ1dy0 XL C0003 R0003 i+3wJfwQ1dy0 XL C0004 R0004 i+3wJfwQ1dy0 XL C0005 R0005 i+3wJfwQ1dy0 XL C0006 R0006 i+3wJfwQ1dy0 XL C0007 R...
'{$STAMP BS2} '{$PBASIC 2.5} TXLCD CON 10 BAUD19200 CON 32 wii DATA "wii channel!" mario DATA "mario!" marioMusic DATA " >> < >> < > > > > <<><>>>> ", 0 wiiMusic DATA " >>>> <><> > << >> >>>> <><> >> >> >>>> <><> ", 0 idx VAR Byte tmp VAR Byte len VAR By...
DECLARE SUB InizPalette () DECLARE SUB CambiaPalette () DECLARE SUB DisegnaEllissi () DEFINT A-Z DIM SHARED MatrPalette(15) SCREEN 8 ' risoluzione 640 x 200; 16 colori InizPalette DisegnaEllissi DO CambiaPalette LOOP WHILE INKEY$ = "" ' Sposta la palette finch‚ non viene premuto u...
IF usercommand$(runcommands) = "blog" THEN DO FOR runcommands2 = 1 TO usercommands IF usercommand$(runcommands2) = "spot" THEN speechoutput$ = "opening blogspot" speechprint$ = speechoutput$ GOSUB textprint GOSUB speechoutput ...
/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAGQAlgDASIA AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA AAF9AQIDAAQR...
10 SCREEN 6 20 COLOR ,,0 30 VDP(9)=VDP(9)OR&H20 40 BLOAD"matrix2.pl6",S 50 COLOR=RESTORE 60 BLOAD"matrix2.sc6",S 70 A$=INPUT$(1) 
10 print "Left" 20 print "cos" 30 print "cls" 40 print "input" 50 print "inkey$" 60 print "val" 70 print "sin" 80 print "asc" 90 print "for abs("+"tan" 100 print "cos"+cos(9)
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDesignChanges = NotDefault TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =2639 DatasheetFontHeig...
10 FOR X=16384+510 TO 16385 STEP -1 20 FOR Y=16384 TO X 30 A=PEEK(Y):B=PEEK(Y+1) 40 IF A>B THEN POKE Y,B:POKE Y+1,A 50 NEXT Y 60 NEXT X
SCREEN 12 COLOR 1 PRINT "Toby" VIEW PRINT 2 TO 6 DO A$ = INPUT$(1): A$ = UCASE$(A$) SELECT CASE A$ CASE "B" B = B + 1 IF B > 63 THEN B = 0 CASE "G" G = G + 1 IF G > 63 OR G < 0 THEN G = 1 CASE "R" R = R + 1 IF R > 63 OR R < 0 THEN R = 1 END SELECT C = (65536 * B) + (256 * G) + R PALETTE 1, C CLS 2:...
SUB MAIN DIM I AS INTEGER GRAPHICS FOR I=1 TO 20 SETCOLOR RND(256),RND(256),RND(256) CLS REPAINT SLEEP 500 END FOR END SUB
Attribute VB_Name = "modADOX" Declare Function CoCreateGuid _ Lib "ole32.dll" (pguid As GUID) As Long Declare Function StringFromGUID2 _ Lib "ole32.dll" (rguid As Any, _ ByVal lpstrClsId As Long, _ ByVal cbMax As Long) As Long Declare Sub ExitProcess _ ...
DECLARE SUB freeatlast (nam$) DECLARE SUB death () REM Benjamin Wolf REM January 13, 2002 REM Hangman REM CLS DATA Monty Python and the Holy Grail, Movie, The Legend of Zelda Ocarina of Time, Video Game DATA Calculus, Academic Subject, The Simpsons, TV Show, Wheel of Fortune, TV Show DATA Ian McKellan, Actor, ...
atom=Sc contraction shell=S num_primitives=1 num_coefficients=1 0.01047 1 contraction shell=P num_primitives=1 num_coefficients=1 0.01008 1 contraction shell=D num_primitives=1 num_coefficients=1 0.00947 1 contraction shell=F num_primitives=1 num_coefficients=1 0.03067 1 contraction shell=G num_primitives=1 num_coeffic...
1 LOMEM: 14080 5 GOSUB 10000: GOSUB 11000: GOSUB 16000: GOTO 135 10 REM <<< LEMONADE STAND >>> 15 REM 20 REM FROM AN ORIGINAL PROGRAM 30 REM BY BOB JAMISON, OF THE 40 REM MINNESOTA EDUCATIONAL 50 REM COMPUTING CONSORTIUM 60 REM * * * 70 REM MODIFIED FOR THE APPLE 80 REM FEBRUARY...
10 print tab(26);"chase" 20 print tab(20);"creative computing" 30 print tab(18);"morristown, new jersey" 40 print:print:print 41 print "you are within the walls of a high voltage maze" 42 print "there are five security machines trying to destroy you" 60 print "you are the '*' the interceptors are the '+'" 70 print "th...
DECLARE SUB FixScreen () DECLARE FUNCTION FindFarthestSquare% () DECLARE SUB SortSquares () DECLARE FUNCTION SquareDistance# (s%) DECLARE SUB UpdateSquareDistance () DECLARE FUNCTION AddSquare% (p1%, p2%, p3%, p4%, colour%) DECLARE SUB SetSquareCount (n%) DECLARE FUNCTION SquareX# (Square%) DECLARE FUNCTION Squ...
2 PRINT TAB(33);"POKER" 4 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 6 PRINT: PRINT: PRINT 10 DIM A(50),B(15) 20 DEF FNA(X)=INT(10*RND(1)) 30 DEF FNB(X)=X-100*INT(X/100) 40 PRINT "WELCOME TO THE CASINO. WE EACH HAVE $200." 50 PRINT "I WILL OPEN THE BETTING BEFORE THE DRAW; YOU OPEN AFTER." 60 P...
10 CLS 20 FOR I = 1 TO 20 30 PRINT 40 NEXT I 50 PRINT 60 PRINT 70 PRINT 80 PRINT 90 PRINT 100 PRINT 110 PRINT 120 PRINT 130 PRINT 140 PRINT 150 PRINT 160 FOR j = 1 TO 25 170 PRINT 180 FOR k = 1 TO 1000 190 NEXT k 200 NEXT j GOTO 10
Operation =1 Option =0 Where ="(((dbo_ContactGeneral.SalesRepID)=12))" Begin InputTables Name ="dbo_ContactGeneral" Name ="dbo_ContactLocation" End Begin OutputColumns Expression ="dbo_ContactGeneral.SalesRepID" Expression ="dbo_ContactGeneral.CompName" Expression ="dbo_ContactGeneral.EmailDomain" ...
SUB MAIN DIM X AS STRING X="Backslash character=\\" PRINT "X: " + X X="Quote Character=\"" PRINT "X: " + X X="First line\nSecond line" PRINT "X: " + X X=STRING(123) PRINT "X=" + X END SUB
#!/home/sntcap/Schreibtisch/NeuerVersuch/cbmbasic 10 OPEN 1,1,1,"TEST.DAT" 20 PRINT#1, 1234 30 PRINT#1, "Hello" 40 CLOSE 1 50 OPEN 2,1,0,"TEST.DAT" 60 INPUT#2, A 70 INPUT#2, I$ 80 CLOSE 2 90 PRINT A 100 PRINT I$ RUN