text
stringlengths
7
5.36M
1 %TITLE "MINMAX Table" %SBTTL "BM_MAIN_MAXMIN" %IDENT "V3.6a Calico" FUNCTION LONG BM_MAIN_MAXMIN(CDD_WINDOW_CDD SMG_WINDOW, & LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE) ! ! COPYRIGHT (C) 2000 BY ! ! Software Solutions, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license a...
10 'Tested on CP/M and Added CLS change 18 July 87, Jim Lill 20 'fixed misspellings and redundancies in data 30 C_LS$=CHR$(26):' set for your terminal 40 C=330:' THIS IS NUMBER OF CITIES 50 DIM A1(26) 60 DIM N$(C),LA(C),LO(C) 70 PI= 4 * ATN(1):'added in CP/M conversion 80 PI2=2 * PI 90 DG=360/PI2 '2 pi radians in 360 d...
'function declarations DECLARE FUNCTION peekb$ (addr&) DECLARE FUNCTION peekw$ (addr&) DECLARE FUNCTION peekd$ (addr&) DECLARE FUNCTION tell$ (flag%, bit%) 'main CLS COLOR 15 PRINT "System Information" COLOR 7 PRINT "------------------" PRINT "" COLOR 14 DEF SEG = &H40 PRINT "COM1 address:"; peekw$(&H0) PRINT "COM2 a...
1 %TITLE "Summarize Author/Modification Data from Source Codes" %SBTTL "TK_SPEC_MODGENERATE" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 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 ...
Sub ReadFromAnotherExcelFile() Dim wb As Workbook Dim ws As Worksheet Dim vFile As Variant 'Open the target workbook vFile = Application.GetOpenFilename("Excel-files,*.xls", _ 1, "Select One File To Open", , False) 'if the user didn't select a file, exit sub If TypeName(vFile) ...
1 rem program 4" 10. ring modulation—sweeping both voices 5 rem — initialize sound registers — :rem 0 6 rem :rem 26 10 for r=54272 to 54296:poker,0:next :rem 24 11 poke 54296,15 :rem 45 12 poke 54277,0:poke 54278,240 :rem 44 14 rem :rem 73 15 rem — turn on ring mod — :rem 244 16 rem :rem 75 17 poke 54276,21 :rem 46 18 ...
10 DIM AK(INT((4*(ABS(41-71)+1)*(ABS(41-71)+1)+7)/8)+4) 20 SCREEN 5:SET PAGE 0,0 30 LINE(40,40)-(70,70),15,BF 35 COPY(41,41)-(71,71),0 TO AK 'Скопировали изображение в массив AK 40 A$=INKEY$:IF A$="" THEN 40 50 COPY AK,0 TO (150,150),0 70 A$=INKEY$:IF A$="" THEN 70 
REM File: .bas REM Data: REM Programmer: Yuriy Lomako REM Description: REM ------------------------------------------------------------------- CLS FOR I = 1 TO 600000 RANDOMIZE TIMER X = INT(RND * 80) + 1 Y = INT(RND * 25) + 1 LOCATE Y, X PRINT "*" NEXT I
1 REM test 2 END
10 REM THIS DEMONSTRATION IS CONVERTED FROM PDP-11 BASIC 20 PRINT "IF YOU NEED INSTRUCTIONS FOR PLAYING FOOTBALL, TYPE A 1"; 30 INPUT I 40 IF I<>1 THEN 340 50 PRINT 60 PRINT 70 PRINT "WHEN IT ASKS YOU A QUESTION TO BE ANSWERED YES OR" 80 PRINT "NO, TYPE IN 0 FOR NO OR 1 FOR YES." 90 PRINT 100 GOSUB 4000 30...
'_|_|_| BIN_RAND.BAS '_|_|_| A program to illustrate how RANDOM and BINARY file '_|_|_| modes are similar, and their use for databases. '_|_|_| No warrantee or guarantee given or implied. '_|_|_| PUBLIC DOMAIN by Kurt Kuzba. (7/7/1997) DECLARE SUB ShowfileRandom (c%) DECLARE SUB ShowFileBinary (c%) ...
10 HGR 20 X = INT ( RND (1) * 256) 30 Y = INT ( RND (1) * 192) 40 SET X,Y 50 WR = Y 60 IF WR > X THEN WR = X 70 IF WR > 191 - Y THEN WR = 191 - Y 80 IF WR > 255 - X THEN WR = 255 - X 90 WR = WR * (1 + RND (1)) / 2 100 COLOR = 1: IF RND (1) > .5 THEN COLOR = 0 110 NORMAL : IF RND (1) > .5 THEN INVERSE 12...
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 '****************************** 20 '* * 30 '* SINGING A SONG * begin - LISTEN - WRITE - SING - CHANGE 40 '* * - SAVE - LIST AND ALTER - TUNE 50 '* J.W.L * - EXPLAIN - STOP 60 '* * ...
10 CLEAR:PRINT"****** MARITIME PROGRAMS ******","1MS,2DR,3GC,4SUN,5MP,6SUNRISE,7ALT,8STAR,9SIGHT,10RM" 20 INPUT"1 TO 10";A:ON A GOTO 1000,2000,3000,4000,5000,6000,7000,8000,9000,2500:GOTO20 30 IF X>U THEN X=X-V ELSE IF X<-U THEN X=X+V 40 RETURN 50 U=180:V=360:RETURN 60 X=FIXX+FRACX/.6:RETURN 70 IF ABSFRACX*.6>=.5...
10 INPUT X:X$=STR$(X) 20 K=0 30 FOR J=2 TO LEN(X$) 40 P=0 50 FOR I=2 TO LEN(X$) 60 IF MID$(X$,J,1)=MID$(X$,I,1) THEN P=P+1 70 NEXTI 80 IF P=1 THEN K=K+1 90 NEXTJ 100 PRINT "K=";K 
10 :REM'SLOPER - Sloper Antennas - 07 JAN 97 rev. 02 OCT 97 20 IF EX$=""THEN EX$="EXIT" 30 :REM' 40 COLOR 7,0,1 50 CLS:KEY OFF :REM'start 60 PI=3.1415929794311523! 70 U$="###.###" 80 COLOR 15,2 90 PRINT " SLOPER ANTENNA DIMENSIONS";TAB(57)"by George Murphy VE3ERP "; 100 COLOR 1,0:PRINT STRING$(80,223); 110 COLOR 7,0...
1 %TITLE "Payroll Conversion" %SBTTL "PR_SPEC_FIXMILES" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1999 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 ! the inclusion of the...
Version =20 VersionRequired =20 Begin Form AutoResize = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault AllowD...
CLS FOR n = 1 TO 4 prime = (2 ^ (2 ^ n)) + 1 PRINT prime NEXT
Attribute VB_Name = "NUMBER_REAL_ROOT_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. '***************************************************************...
DIM image AS LONG DIM x AS INTEGER DIM y AS INTEGER DIM Keypress AS STRING DIM usercaptain AS STRING DIM usercommander AS STRING DIM SpaceMasters AS STRING DIM energy AS INTEGER DIM baseenergy AS INTEGER DIM ship1health AS INTEGER DIM ship2health AS INTEGER DIM ship3health AS INTEGER DIM ship4health AS INTEGER DIM poin...
1 %TITLE "Payroll Tax Table Maintenance" %SBTTL "PR_MAST_TAX_TABLE" %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 wi...
10 REM 20 REM LOADER PARA LA VERSION DISCO 30 REM 40 REM SPLASHSCREEN DE CPCtelera 41 REM Lo cargo en 0x4000 y luego llamo donde está el main (0x448C) 42 REM 50 INK 0, 0: BORDER 0 60 CLS : MEMORY &4000: LOAD"!SPLASH.BIN",&4000 : CALL &44F3 64 REM 65 REM Hay que volver a cambiar fondo y borde porque se ha restaurado el...
DECLARE SUB scroll (direction AS ANY) DECLARE SUB move (guy AS ANY, sprite%()) DECLARE FUNCTION resource$ (file$) REM $INCLUDE: 'modules\commons.bi' REM $INCLUDE: 'modules\graphic.bi' REM $INCLUDE: 'modules\commons.bas' CONST RESOURCES = "modules\demo\" setup: CLS : SCREEN 7: pageTo t.Buffer RANDOMIZE TIME...
Auto 1 # Run-time Variables Var x: NumFOR = 40, 39, 2, 60, 2 Var y: NumFOR = 10, 8, 2, 70, 2 Var a$: Str = "Hello" # End Run-time Variables 10 REM 4x4 Pixel magnifier 20 CLS 30 INPUT "Characters to render: "; LINE a$ 40 IF LEN (a$)>8 THEN PRINT AT 0,0;"Up to 8 Characters only!": PAUSE 0: CLS : ...
\***************************************************************************** \*** Shelf-edge label (Monday) file functions \*** Version A Steve Windsor 5th Jan 1993 \*** \*** Version B Jamie Thorpe 7th Jun 1999 \*** Removed version lettering....
\****************************************************************************** \****************************************************************************** \*** \*** %INCLUDE FOR PRICE CHECK FILE FUNCTIONS \*** \*** REFERENCE : PCHKFUN.BAS \*** \*********************************************...
0 REM--------10--------20--------30--------40--------50--------60--------70 1 DATA 33,230,3,34,33,1 2 DATA 62,195,50,32,1,201,221,229,221,33,255,255,221,35,221,57 3 DATA 62,93,221,190,16,32,18,62,221,221,190,17,32,11,229,33 4 DATA 12,4,221,117,10,221,116,11,225,221,225,201,193,209,51,51 5 DATA 50,29,1,183,58,27,1...
10 :REM'OPAMP - Operational Amplifiers - 03 AUG 95 rev.12 APR 97 20 IF EX$=""THEN EX$="EXIT" 30 CLS:KEY OFF 40 COLOR 7,0,1 50 DIM R(25) 60 PI=3.1415929794311523! 70 E$=STRING$(79,32) 80 UL$=STRING$(80,205) 90 U$="######,###" 100 V$="######,###.#" 110 W$="######,###.###" 120 :REM' 130 DATA 10,11,12,13,15,16,18,20,22,24,...
1 %TITLE "Manufacturing Order Line Register" %SBTTL "MO_MAIN_QUERYLINE" %IDENT "V3.6a Calico" FUNCTION LONG MO_MAIN_QUERYLINE(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 i...
1 %TITLE "POST - Post Journals to GL" %SBTTL "GL_POST_GJPOST" %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 with ! ...
20 cc=12:vm=0:ch=cc*1024:cm=53248 30 gosub 1100:poke 53272,(peek(53272) and 240) or cc 40 print "{clr}" 100 for i=0 to 159:poke 1024+i,i:poke 55296+i,0:next 120 get a$:if a$="" then 120 130 poke 53281,15:print chr$(31) 140 for i=64 to 95:print"{home}{down}{down}{down}{down}{down}{down}{down}{down...
30 REMark QL dbas front end package program 60 REMark $$asmb=win1_basic_qbase_exp_conf,0,12 90 REMark $$asmb=win1_basic_qbase_cde,4,82 120 REMark $$stak=16384 150 REMark WHEN ERRor 180 REMark ERROR_HANDLING 210 REMark END WHEN 240 REMark IF SCR_XLIM=512 THEN a=ITEM_SELECT('Sorry',"This program doesn't work at this reso...
10 SOUND 0,47:SOUND 1,1 'Частота канала А = 200 Гц. 30 SOUND 2,140:SOUND 3,0 'Частота канала В = 800 Гц. 50 SOUND 4,56:SOUND 5,0 'Частота канала С =2000 Гц. 70 SOUND 7,56 'Выбор звука из каналов А, В и С. 80 SOUND 8,9:SOUND 9,10:SOUND10,11'Выбор громкости канала. 
150 DATA NORTE,1,SUL,1,LESTE,1,OESTE,1 160 ' *** MATRIZES DOS OBJETOS *** 170 READ NB 180 DIM OB(NB),OB$(NB),SI$(NB)
NAME adult-max5features FREEIEEE XL rho_0 error_0 yZbtIcdy0DPa XL rho_1 error_1 uY3Fsdpi1gXb XL rho_2 error_4 0Z3bibjn9Qf4 XL rho_3 error_5 gZ3bibjn98e4 XL rho_4 error_7 lZ3DxdIfcJ9e XL rho_5 error_8 gZ3g01g01s+0 XL rho_...
10 :REM'TRIG - Trigonometric Functions - 25 APR 01 rev.07 JUN 2002 20 CLS:KEY OFF 30 IF EX$=""THEN EX$="EXIT" 40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$ 50 COMMON EX$,PROG$ 60 COLOR 7,0,1 70 DEFDBL A-Z 80 PI=4*ATN(1) :REM'3.141593 90 UL$=STRING$(80,205) 100 :REM' 110 :REM'.....title page 120 CLS 130 COLOR 15,2 140 PRI...
' [TOOLBX_A.BAS] ' This source document is apart of the ENhanCed Hisoft ApplicatioN toolkiT (ENCHANT) ' Developed by Matthew Bacon & Paul Jones, ½ 1997-1998 Matthew Bacon & Paul Jones DEFINT a-z LIBRARY "bios","gemaes","gemdos","gemvdi","xbios" 'LIBRARY "falcon","modplay","oop","networld","speedo","waveplay" ...
10 ONERR GOTO 2660 20 REM ************** 30 REM * TITLE PAGE * 40 REM ************** 50 D$ = CHR$ (4):N! = 0 60 DIM NAME$ (20),A(225.20).CT(225)VL(225) 70 TEXT : HOME : FOR I = 1 TO 20: PRINT "*=":: NEXT I: PRINT 80 PRINT "D A T A D E S C R I P T I 0 N 2 . 0": PRINT : FOR I = 1 TO 20: PRINT "*=":: NEXT I 90 VTAB 23:...
' Program DATA_LOG.BAS ' This is a QBASIC program to display and record the data ' from the Stamp program SOLAR.BAS. To quit this program, ' either press control-break, or press any key and wait ' for the next Stamp transmission. DEFINT A-Z OPEN "com1:1200,N,8,1,CD0,CS0,DS0,OP0" FOR INPUT AS #1 OPEN "c:\data.l...
4 GO TO 100 44 FIND 8 46 OLD 100 INIT 110 SET KEY 120 PRINT @32,21:0,100 130 PRINT " JOYSTICK SCHEMATIC DEMO" 140 DIM R$(33),D$(33),C$(27),N$(45),P$(45),T$(200),Z(6,2),Z$(18) 150 DIM A$(45),O$(57),I$(48),V$(30),B$(18),K$(1) 160 PRINT "This demo shows a very simple example of how easy it is to" 170 PRINT "write ...
10 let t=3 20 let c=6 30 let p=2 40 let s=t+c+p 50 print s
REM Web diagram for the inverted Logistic REM Programming elements included here were developed in background research REM for Patrick Grim, Gary Mar and Paul St. Denis, THE PHILOSOPHICAL COMPUTER: REM EXPLORATORY ESSAYS IN PHILOSOPHICAL COMPUTER MODELING, Bradford Books/ REM MIT Press. You are free to use and adapt ...
Attribute VB_Name = "FINAN_ASSET_FUND_BETA_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. Function MUTUAL_FUNDS_BETA_PERFORMANCE_FUNC(ByRef TI...
1 %TITLE "WRKSHT - Print Transmittal Worksheet" %SBTTL "PR_FORM_TRANS" %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 wi...
10 v=53248:x=150:y=157:print"{clear}" 20 for i=16000 to 16062:read a:poke i,a:next i 25 poke 2040,250:poke v+21,1:goto 50 30 get a$:a=0:xx=0:if a$="p" then a=1:goto 50 35 if a$="l" then a=2:goto 50 40 if a$="z" then xx=-2 45 if a$="x" then xx=+2 50 for z=1 to 10:x=x+xx:if x>250 then x=30 55 if x<20 then x=250 60 if a=...
Attribute VB_Name = "cceWibAnalyticsWrappers" Option Base 1 Option Explicit Public Function cceMainHandleErase(Names As Variant) As Long 'handles single or multiple handles Dim arrNames As Variant Dim ni As Long Dim nj As Long Dim i As Long Dim j As Long Dim num As Long num = 0 If TypeName(Names) = "Range" T...
5 ONERRORGOTO900 20 MODE8:DIM:a=0:b=0:h=0:c$=CHR$(5) 30 CLS:PRINT"(a+b)h/2 a:b:base h:height"; 40 s$="a":z=a:GOSUB100:a=z 50 s$="b":z=b:GOSUB100:b=z 60 s$="h":z=h:GOSUB100:h=z 70 LOCATE0,1:PRINTc$;"Area =";(a+b)*h/2;:z$=INPUT$(1,@):GOTO40 100 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@42;z:LOCATE0,0:IFz<0 THEN100 ELSER...
DECLARE SUB Intro () DECLARE SUB Story () DECLARE SUB Spela () DECLARE SUB MainMenu () SCREEN 12 Intro SUB Intro CLS PRINT SPC(30); "SV¸RSMˇLTA HJˇLTAR" PRINT "" PRINT SPC(10); CHR$(34); "Aah!"; CHR$(34); " skriker Mario. "; CHR$(34); "Vad „r det d„r?"; CHR$(34) PRINT SPC(11); "Mario tror att ett enormt, s...
Attribute VB_Name = "CodeMQOPTIONS" ' (c) Copyright 1995-2023 by John J. Donovan Option Explicit Const MAXOUTPUT% = 4 Const MAXZBAR% = 8 ' MQ options Dim MassZedDiffMinFlag As Integer Dim MassZedDiffMaxFlag As Integer Dim MassZedDiffMax As Single Dim MassZedDiffMin As Single Dim FilmDensity As Single D...
SCREEN _NEWIMAGE(800, 500, 32) _TITLE "Number of Buildings on Property in Monopoly" LOCATE 2, 1: PRINT "Number of Buildings:"; FOR i = 0 TO 15 n$ = LTRIM$(RTRIM$(STR$(i))) n$ = STRING$(2 - LEN(n$), " ") + n$ PRINT " "; n$; NEXT PRINT PRINT STRING$(84, "-") FOR q = 1 TO 3 PRINT "Property #"; LTRIM$(RT...
5 REM Blinking LED 10 CLS 20 GOSUB 200 30 PRINT"ÿ" 40 GOSUB 200 50 PRINT"°" 60 GOSUB 200 70 PRINT"±" 80 GOSUB 200 90 PRINT"²" 100 GOSUB 200 110 PRINT"Û" 120 GOSUB 200 130 PRINT"²" 140 GOSUB 200 150 PRINT"±" 160 GOSUB 200 170 PRINT"°" 180 GOSUB 200 190 GOTO 30 200 LOCATE 1,1 210 FOR Z=0 TO 2500:NEXT...
!-------------------------------------------------- !- 27 October 2019 08:43:09 !- Import of : INF.PRG !- From Disk : c:\users\marka\games\c64\cbmprg\cassette50reboot\inferno.d64 !- Commodore 64 !-------------------------------------------------- 10 PRINT"{clear}":RL=0:UD=0:TM=0:POKE53280,0:POKE53281,0:PRINT"{dow...
'CLOUD RANDOMIZE TIMER SCREEN 12: CLS WINDOW (-120, -90)-(120, 90) a = 3.5: b = -3 x = 3 + RND y = 6 + RND GOSUB 110 FOR n = 0 TO 10000: PSET (x, y) z = x: x = y + w GOSUB 110 y = w - z: NEXT n: BEEP: a$ = INPUT$(1): END 110 IF x > 1 THEN w = a * x + b * (x - 1): RETURN IF x < -1 THEN w = a * x + b * (x +...
Version =20 VersionRequired =20 Begin Form AutoCenter = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault DefaultView =2 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =2...
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools =============================================================================== FILE: Virus.MSWord.Jishe Type: OLE ------------------------------------------------------------------------------- VBA MACRO ThisDocument.cls in file: Virus.MSWord....
rem example by lillapojkenpaon set smartbranching on set tv ntsc set kernel_options pfcolors no_blank_lines const scorefade=1 dim _sc1 = score dim _sc2 = score+1 dim _sc3 = score+2 scorecolor=$0E rem https://www.atariarchives.org/mlb/chapter4.php rem Chapter 4: Addressing, Indirect Y, page 49 rem...
Check 1A94EC42 Auto 8224 # Run-time Variables Var c$: Str = "124" Var a$: Str = "Barrett" Var b$: Str = "Bbrrett" # End Run-time Variables 1 REM Conditions 2 REM 3 REM 4 REM 5 REM 10 INPUT a 20 INPUT b 30 PRINT (a AND a>=b)+(b AND a<b) 40 GO TO 10 41 REM 42 REM 43 REM ------------------...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault DateGrouping =1 GridY =10 Width =10656 ItemSuffix =131 Left =2970 Top =1035 ShortcutMenuBar ="Sports Admin-Print Popup" Toolbar ="Sports Admin-Print" RecSrcDt = Begin 0xab9e2f379c64e240...
1 %TITLE "Array Comparison Function" %SBTTL "COMP_ARRAY" %IDENT "V3.6a Calico" FUNCTION LONG COMP_ARRAY(TEST_STRING$, MATCH_ARRAY$) ! ! 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 accordanc...
00100 : REM ' MASTER/BAS: 09/20/83 COMBINATION OF APPOINT AND REMINDER. 00110 : REM ' ************************************************** 00120 : REM ' ** REMINDER: PROVIDES MESSAGE BULLETINS FOR THE ** 00130 : REM ' ** USER AT VARIOUS TIMES: COMPUTER ALARM CLOCK ** 00140 : REM ' ** AND BULLETIN BOARD. ...
2 PRINT TAB(26) "CIVIL WAR" 4 PRINT TAB(15) "CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 6 PRINT : PRINT : PRINT 20 REM ORIGINAL GAME DESIGN: CRAM, GOODIE, HIBBARD LEXINGTON H.S. 30 REM MODIFICATIONS: G. PAUL, R. HESS (TIES), 1973 50 DIM S(4),C$(14),M1(14),M2(14),C1(14),C2(14),M(14) 60 REM UNION INFO ON LIKELY CONFED...
1 ON SRQ THEN 85 2 D$=" DELTA FRQ AMPLITUDE" 3 GO TO 100 4 GO TO J1 OF 5,13 5 I9=1 6 RUN 985 7 RETURN 8 I8=0 9 PAGE 10 I9=5 11 D$=" DELTA FRQ AMPLITUDE" 12 GO TO 995 13 REM 14 I9=2 15 RETURN 20 I8=1 21 I9=2 22 RUN 995 36 RETURN 40 REM RETURN TO MASTER MENU 41 I9=3 42 RUN 1870 44 I9=6 45 RETURN ...
# hivolts.bas - a game in ZX Spectrum BASIC # # By Jaldhar H. Vyas <jaldhar@braincells.com> # # Copyright (C) 2017, Consolidated Braincells Inc. # "Do what thou wilt" shall be the whole of the license. # 10 RANDOMIZE 20 DIM B(12,12) 30 DIM P(13,2) 40 LET X = 0 : LET Y = 0 50 LET T = 1 : LET V = 0 60 FOR I = 1 TO 7 70 R...
Version =20 VersionRequired =20 Begin Form AutoResize = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault FilterOn = NotDefault AllowDesignChanges = NotDefault Def...
10 CLS 20 COLOR 15 30 INPUT"Geben Sie den Maximalwert fr die Primzahlen an:",MAX 40 CLS 50 DIM V(MAX) 60 B=12 70 C=1 80 A=1 90 U=1 100 FOR Z=1 TO A 110 Y=A/Z 120 LOCATE 1,1:PRINT "Akt. Ergebnis: ";Y;" " 130 LOCATE 2,1:PRINT "Mom. Teiler : ";Z;" " 140 LOCATE 3,1:PRINT " schon ";X;"x ge...
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...
cls n=1 a=-1 do while a=-1 o$="" if n%3=0 then o$="Fizz" endif if n%5=0 then o$=o$+"Buzz" endif if o$="" then print str$(n) else print o$ endif touch a,a,100 n=n+1 loop
10 PRINT "PROGRAM FILE 188: ERROR - SPACES WITHIN LINE-NUMBERS." 20 PRINT " ANSI STANDARD 3.4, 4.4" 30 PRINT 40 PRINT "SECTION 188.1: ERROR - SPACES WITHIN LINE-NUMBERS." 50 PRINT 60 PRINT "THIS PROGRAM TESTS TO SEE IF THE BASIC PROCESSOR ACCEPTS" 70 PRINT "PROGRAMS CONTAINING SPACES WITHIN LINE-NUMBERS." 80 PRINT 9...
1 %TITLE "Convert AP VENDORS from MicroData" %SBTTL "AP_CONV_MDVENDOR" %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 ...
!-------------------------------------------------- !- 28 October 2019 21:15:52 !- Import of : PHASE.PRG !- From Disk : c:\users\marka\games\c64\cbmprg\cassette50reboot\phaser.d64 !- Commodore 64 !-------------------------------------------------- 10 PRINT"{clear}phaser":POKE53280,0:POKE53281,0:RL=0:SC=0:HS=0:PRI...
10 print "{gry3}{clr}vdc explorer by stephen l. judd":sleep 1 20 if peek(dec("1300"))=120 then 40 30 bload"vdc-explorer.o" 40 n=120:c=0 50 slow:f=1:poke 53265,peek(53265) and 239 60 rem fast:f=2 70 dim t1(n),t2(n),t3(n),t4(n),t5(n),t6(n),t7(n),t9(n),av(8) 80 print"{clr}":test=dec("14c9"):r1=tes...
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 PRINT "PROGRAM FILE 143: ERROR - TWO ARGUMENTS IN LIST FOR" 15 PRINT " SIN FUNCTION." 20 PRINT " ANSI STANDARD 7.2, 7.4, 8.2, 8.4" 30 PRINT 40 PRINT "SECTION 143.1: ERROR - TWO ARGUMENTS IN LIST FOR" 45 PRINT " SIN FUNCTION." 50 PRINT 60 PRINT "THIS SECTION TESTS WHAT HAPPENS WHEN THE SIN FUNCTION I...
Attribute VB_Name = "VersionHelper" '-------------------------------------------------------------------------------- ' Component : VersionHelper ' Project : ViDock ' ' Description: Determines the file version ' '-------------------------------------------------------------------------------- Private Decla...
'---------------------------------------------- '*** PROGRAM: Find Primes... ' LANGUAGE: QBASIC/Version: QB64 ' COMPUTER: Home based PC/Windows 10 Pro ' AUTHOR: Mr. Paul Ramnora ' EMAIL: pramnora@yahoo.com ' COPYRIGHT: (c)2020,- Mr. Paul Ramnora/All rights reserved. ' CREATED: Wed 23rd April 2...
10 REM This is a test 15 DIM A(3) 20 FILES "input.txt" 30 ARR READ #1;A 40 ARR PRINT A 90 STOP 99 END
DECLARE FUNCTION ALEN! (X1!, X2!, X3!, X4!) DECLARE FUNCTION RAN3! (IDUM&) SUB METROP (DE, T, ANS%) JDUM& = 1 ANS% = (DE < 0!) OR (RAN3(JDUM&) < EXP(-DE / T)) END SUB SUB REVCST (X(), Y(), IORDER(), NCITY, N(), DE) DIM XX(4), YY(4) N(3) = 1 + N(1) + NCITY - 2 - NCITY * INT((N(1) + NCITY - 2) / NCITY) N(4) ...
10 int x0,y0 20 x0=pos: yo=csrlin-1: print: print: print 30 /* 40 int i(0), j(0), k(0) 50 /* 60 i(0)=&H4126 70 j(0)=&HFEF 80 k(0)=&H88 90 printf("%04x\n%04x\n%04x\n",i, j, k) 100 locate x0, y0 
'============================================================================ ' To: All Number: 36 Refer: 0005 ' From: Tommy Brake Conference: FidoQBasic (139) ' Date: 01-18-96 01:27 BBS Name: Exec-PC 'Subject: Graphics BBS ...
!-CONST KEY $1A00 !-CONST REORG $1A0C 10 PRINT"{clear}{red}"; 20 PRINT"{cm a}{sh asterisk}{cm r}{sh asterisk}{cm r}{sh asterisk}{cm s}" 30 PRINT"{sh -}1{sh -}2{sh -}3{sh -}" 40 PRINT"{cm q}{sh asterisk}{sh +}{sh asterisk}{sh +}{sh asterisk}{cm w}" 50 PRINT"{sh -}4{sh -}5{sh -}6{sh -}" 60 PRINT"{cm q}{sh asterisk}{sh +}...
10 '*********************** 20 '* * 30 '* TRILOOK * 40 '* * 50 '* J.W.L * 60 '* * 70 '*********************** 80 PRINT" Press the NUMLOCK first,then input THREE words" 90 PRINT 100 PRINT" 1st 2:D 4:L ...
Attribute VB_Name = "M_Sink" Type BTN BType As Integer BColor As Integer BEfect As Integer Custom(1 To 5) As Long End Type Type OBJ Button As BTN Causes As Boolean Behavi As Boolean Rect As Boolean Soft ...
' plays all possible c-scale notes in background 'and prints a repeating musical message. ' DIM note$(6) CLS FOR ctr = 0 TO 6 READ note$(ctr) 'put note names in the array NEXT PLAY "mb" FOR octave = 0 TO 6 PLAY "o" + RIGHT$(STR$(octave), 1) 'set the octave FOR ctr = 0 TO 6 ...
Attribute VB_Name = "ISISListenerCommon" Option Explicit ' Code common to the ISIS/Draw listeners Const mTagName As String = "StoredDataSgroup" Const mMaxDataSgroups As Long = 5 Const mObjectTagDataItems As Long = 5 Private Declare Function RegisterClipboardFormat Lib "user32" Alias "RegisterClipboardFormatA" (ByVal...
'BF.BAS -- Converts a BF program into a Basic program 'Combines some statements for a shorter program 'Standard I/O DEFLNG A-Z F$ = COMMAND$ IF F$ = "" THEN INPUT "Enter filename of BF source [.BF]: ", F$ F = INSTR(F$, "."): IF F = 0 THEN F$ = F$ + ".BF" F = INSTR(F$, "."): FO$ = MID$(F$, 1, F) + "BAS" PRINT "Writing "...
10 :REM'CYLLOAD - Cylinder-Loaded Dipole - 17 JAN 97 rev. 27 OCT 02 20 REM: ref. ARRL ANTENNA BOOK, 17th ed. page 2-40 30 IF EX$=""THEN EX$="EXIT" 40 PI=4*ATN(1) 50 UL$=STRING$(80,205) 60 :REM' 70 :REM'.....start 80 CLS:COLOR 15,2,1:D=0:C=0 90 PRINT " CYLOAD Short Cylinder-Loaded Dipole"; 100 PRINT TAB(57)"by George Mu...
010 REM 020 REM See https://theweeklychallenge.org/blog/perl-weekly-challenge-148 030 REM 040 REM 050 REM Run as: basic ch-2.bas 060 REM 100 PRINT "2 1 5" 110 PRINT "5 2 13" 120 PRINT "8 3 21" 130 PRINT "17 18 5" 140 PRINT "11 4 29"
PRINT ASC("A") PRINT ASC("a") PRINT ASC("Z") A% = 65 Z% = 90 s% = -1 FOR p% = Z% TO A% STEP s% PRINT CHR$(p%); " = "; p%; " "; NEXT p%
30 if 8/2=4 goto 60 40 print "RUN TIME FAILURE" 50 goto 70 60 print "RUN TIME PASS" 70 end
CLS SCREEN 13 OPEN "scr13clr.pal" FOR APPEND AS #1 FOR c = 0 TO 255 COLOR c LINE (0, 0)-(320, 200), , BF k$ = INPUT$(1) IF k$ = "s" THEN COLOR 7 PRINT c INPUT "contents"; con$ PRINT #1, con$, c CLS END IF NEXT COLOR 15 CLOSE END
10 PRINT "INTERLACE V0.3" 100 PRINT CHR$ (4)"BRUN RASTERBARS_SOUND"
REM CLS INPUT "INCOME"; N IF N <= 100000 THEN T = 0 ELSE IF N <= 250000 THEN T = ((N - 100000) * 10) \ 100 ELSE IF N <= 500000 THEN T = 25000 + ((N - 250000) * 15) \ 100 ELSE IF N <= 1000000 THEN T = 35000 + ((N - 500000) * 25) \ 100 ELSE IF N > 1000000 THEN T = 45000 + ((N - 1000000) * 35) \ 100 END IF END IF END IF E...
10 INPUT"ENTER A NUMBER";N 20 ?"ABS(N)=";ABS(N) 25 ?"ATN(N)=";ATN(N) 30 ?"COS(N)=";COS(N) 40 ?"EXP(N)=";EXP(N) 50 ?"INT(N)=";INT(N) 60 ?"LOG(N)=";LOG(N) 70 ?"SGN(N)=";SGN(N) 80 ?"SQR(N)=";SQR(N) 90 ?"TAN(N)=";TAN(N)
' FOR DEMONSTRATION ONLY. NOT INTEGRATED INTO MAIN PROGRAM YET. ' ' New way of handling data to move it to disk, free up more available memory by removing it ' from program memory and storing it in a cache outside of available memory. ' instead of storing exits as separate variables, they all can be merged into one...
Auto 0 10 REM Mazerunner \* Raymond Blake 50 GO SUB 9000 200 LET i$=INKEY$ 210 IF i$<>"" THEN GO SUB 1000 220 LET x=x+x1:\ LET y=y+y1 230 IF POINT (x,y)=1 THEN GO TO 5000 240 PLOT x,y 250 IF x=255 THEN GO TO 4000 260 LET s=s+1 390 GO TO 200 1000 IF (i$="p" OR i$="o") ...
1000 ' MML Player 1010 ' 2019/05/09 kumagai 実装開始 1020 ' 2019/07/05 kumagai 実機上でデバッグ 1030 ' 2019/08/15 kumagai 文字列定義を実装 1040 ' ------------------------------------------------------------------------ 1050 ' 【概要】 1060 ' 指定のファイルの音楽データを再生する。 1070 ' 1080 ' 【データ形式】 1090 ' ファイルの形式は以下の通り。 1100 ' 1110 ' [コマンド] 1120 ...
'============================================================================== ' Filename: REWIND_V***.BAS ' Revisions: ' V100 - Initial release. (Systems Team) '------------------------------------------------------------------------------ ' Abstract: ' This program is for the Rewind '================================...
Attribute VB_Name = "modListPrinters" Option Explicit ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' modListPrinters ' By Chip Pearson, chip@cpearson.com www.cpearson.com ' Created 22-Sept-2012 ' This provides a function named GetPrinterFullNames that ' returns a String array, each element of whic...