text
stringlengths
7
5.36M
Attribute VB_Name = "modping" Option Explicit Private Const IP_STATUS_BASE As Long = 11000 Private Const IP_SUCCESS As Long = 0 Private Const IP_BUF_TOO_SMALL As Long = (11000 + 1) Private Const IP_DEST_NET_UNREACHABLE As Long = (11000 + 2) Private Const IP_DEST_HOST_UNREACHABLE As Long = (11000 + 3) Private Con...
DECLARE FUNCTION OPNCHECK () DECLARE FUNCTION GETDIVISION (dat$) DECLARE FUNCTION GETOPNVER (dat$) DECLARE FUNCTION OPNSTART (dat$) DECLARE SUB MEND () DECLARE SUB MFADE (fmspeed, psgspeed) DECLARE FUNCTION MREAD! (ch!, workno!) DECLARE FUNCTION VARREAD (num) DECLARE SUB MESCON () DECLARE SUB MESCOF () DECLARE SUB TEMP...
10 REM *************************** 20 REM * COMPOSER * 30 REM * BY JIM URSETTO * 40 REM *************************** 70 IF PEEK(104) = 64 THEN 96 80 POKE 104,64: POKE 16384,0 95 PRINT CHR$(4);"RUN COMPOSER" 96 PRINT CHR$(4);"BLOAD MIDI-MAGIC" 97 POKE 2459,80: POKE 2455,63 98 TEMP...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault DefaultView =0 ScrollBars =0 ...
Auto 0 # Run-time Variables Var b: Num = 32785 Var a: Num = 65535 Var f: NumFOR = 1, 8, 1, 90, 2 # End Run-time Variables 10 LET b=32768 20 READ a: IF a<>65535 THEN POKE b,a: LET b=b+1: GO TO 20 30 DATA 33,255,87,14,192,6,32,183,203,22,43,16,251,13,32,245,201 40 DATA 65535 45 REM fast 50 LET s$="... \*2...
10 DIM M(50,50) 20 TIME=0:A=1:PRINT TIME 
Auto 0 # Run-time Variables Var time: Num = 8904 Var tenths: Num = 17808 Var seconds: Num = 58 Var minutes: Num = 2 Var s$: Str = "0" Var m$: Str = "0" Var t$: Str = "0" # End Run-time Variables 10 REM fast 20 POKE 23672, 0:\ POKE 23673, 0 35 LET time=PEEK (23672)+(256*PEEK (23673)) 4...
10 COLOR 15,0,0: SCREEN 2 20 DATA 0,1,1,7,7,7,5,4,3,3,2,2,6,4,3,2,2,3,5,5,4,3,3,3 30 DATA 7,7,5,4,4,4,1,1,2,6,5,4,5,7,7,2,5,6,4,5,5,4,3,3 40 FOR C=0 TO 15:READ R,G,B:COLOR=(C,R,G,B):NEXT 50 BLOAD"TILESETS.SC2",S 60 bload"video.bin",r
1 %TITLE "PR Deduction Journal Maintenance" %SBTTL "PR_MAIN_TRN_DED" %IDENT "V3.6a Calico" FUNCTION LONG PR_MAIN_TRN_DED(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. ! ! This sof...
Operation =1 Option =0 Where ="(((dbo_ProjectHeader.Void)=False))" Begin InputTables Name ="dbo_ProjectHeader" Name ="dbo_ContactName" Name ="dbo_ContactGeneral" Name ="dbo_CompanyEmployee" End Begin OutputColumns Expression ="dbo_ProjectHeader.id" Expression ="dbo_ProjectHeader.InvoiceNum" ...
10 PRINT 20 PRINT "LIL'BASIC DEMO PROGRAM" 30 INPUT "ENTER 1-TEST INPUT 2-TEST OUTPUT 3-PATTERN TEST",A 40 IF A=2 THEN GOTO 200 50 IF A=3 THEN GOTO 300 100 REM 110 REM TEST PORT INPUT 120 REM 130 A=PORT1 140 PRINT "PORT 1 =" A 150 GOTO 100 200 REM 210 REM TEST OUTPUT 220 REM 230 INPUT "PORT1 =",A 2...
/* Scratch game Smart Contract in DVM-BASIC */ Function AddCoins(value Uint64) Uint64 5 DIM total as Uint64 10 LET total = LOAD("totalamount") 20 PRINTF "Totalamount before AddCoins: %d" total 30 STORE("totalamount", LOAD("totalamount") + value) 35 LET total = LOAD("totalamount") 40 PRINTF...
CLS SCREEN 13 DO x = INT(RND * 320) + 1 y = INT(RND * 200) + 1 z = INT(RND * 255) + 1 PSET (x, y), z LOOP UNTIL INKEY$ <> ""
REM diagonial SCREEN 12 x = 40 y = 20 FOR times = 1 TO 19 CIRCLE (x, y), 20, 5 x = x + 20 y = y + 20 NEXT times x = 20 y = 400 FOR times = 1 TO 20 CIRCLE (x, y), 20, 4 x = x + 20 y = y - 20 NEXT times x = 40 y = 20 FOR times = 1 TO 19 CIRCLE (x, y), 20 x = x + 20 NEXT times x = 20 y = 400 FOR ti...
1 %TITLE "Convert AR from RSTS/E" %SBTTL "AR_CONV_CONVERT" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1989 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 inclu...
Attribute VB_Name = "OutilsGI" ' ------------------------------------------------------------------------------------------ ' outils.bas : Module contenant les fonctions et procédures de fusion MAGI ' ' Auteur : AF ' Date : ?? ' -------------------------------...
10 A = PEEK(197): IF A=64 THEN 10 20 PRINT "the pushed key has got the value: "; A 40 IF A=46 THEN END 30 IF A<>0 THEN 10
10 :REM'\hamcalc\prog\HCINSTAL - 24 MAR 2000 rev. 20 FEB 2002 20 :REM' PRINT " 2. The HAMCALC CD-ROM contains two files (ve3erp.bat & gwbasic"; 30 COLOR 14,4,0 40 COMMON EX$ 50 CLS:KEY OFF 60 T=7 70 PRINT TAB(20)"HOW TO INSTALL HAMCALC ON YOUR HARD DRIVE" 80 PRINT TAB(10); 90 PRINT "If no version of HAMCALC is already ...
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools =============================================================================== FILE: Virus.MSWord.CyberHack.bw Type: OLE ------------------------------------------------------------------------------- VBA MACRO ThisDocument.cls in file: Virus....
10 PRINT LCASE$("abc")
Operation =1 Option =0 Begin InputTables Name ="tbl_Locations" Name ="tbl_Events" End Begin OutputColumns Expression ="tbl_Events.*" Expression ="tbl_Locations.Plot_ID" Expression ="tbl_Locations.Site_Selection" Expression ="tbl_Locations.Unit_Code" End Begin Joins LeftTable ="tbl_Locations...
SCREEN 12 CLS , _RGB(0, 255, 0) i = _LOADIMAGE("testmap.png") 'see note below examples to get the image _PUTIMAGE (0, 0), i 'places image at upper left corner of window w/o stretching it _FULLSCREEN LET X = 20 LET Y = 10 ' TESTING------------------------------------------------------------ WHILE KEY$ <> "" ...
10 CLS:STOP ON:ON STOP GOSUB 80 20 PRINT"Нажмите клавишу RESET !!!":GOTO 20 80 PRINT"Вам уже ничего не поможет! Делайте, как подсказывают." 90 RETURN 
10 FOR I = -1 TO -11 STEP -1 20 PRINT "WIll show 11 times" 30 NEXT I
Operation =1 Option =0 Where ="(((tbl_Locations.Location_type)<>'Origin') AND ((tbl_Locations.Location_status)<" ">'Rejected') AND ((tbl_Coordinates.Coord_ID) Is Null))" Begin InputTables Name ="tbl_Sites" Name ="tbl_Locations" Name ="tbl_Coordinates" Name ="qasub_Events_scope_filter" Name ="tb...
'special codes: '-1 Any numeric variable (will be made explicit by a C cast) ' Typically, these are used when multiple C functions exist '-2 Offset+Size(in bytes) ' Size is the largest safe memory block available from the offset ' used for: CALL INTERRUPT[X] '-3 Offset+Size(in bytes) ' Size is the largest s...
Version =20 VersionRequired =20 Begin Form AutoResize = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault ...
REM CIRCLE WORLD ADVENTURE SOLVABLE? 5 FORX=1TO32:PRINT:NEXT 10 DIMD$(44),O$(62),L(56),P(44,6):L=17 11 K1=245-INT(10*RND(8)) 17 T=250 50 FORX=1TO44:READD$(X):NEXT 55 DATARIMWALL,OPEN PLAIN,DARK FOREST,FIELD,MOUNTAIN,MOUNTAIN TOP 57 DATALAKESHORE,SECRET TUNNEL,STEPPING DISC,SANDY BEACH,MARS ISLAND 59 DATALAKE ...
10 'Test of different data types in READ/DATA statements 20 DATA 1, 3.14, "Hej" 30 READ A, B, C$ 40 PRINT A 50 PRINT B 60 PRINT C$ ------ 1 3.14 Hej
Operation =1 Option =0 Where ="(((tbl_Locations.Unit_Code)=Forms!frm_Monitoring_Transect!Park_Code) And ((Year(" "[Start_Date]))=Forms!frm_Monitoring_Transect!Visit_Year) And ((IIf([Unit_Code] I" "n (\"CARE\",\"DINO\",\"GOSP\"),[Utah_Species],IIf([Unit_Code]=\"FOBU\",[WY_Speci" "es],[Co_Species]))) Is Not ...
10 rem binary to decimal conversion program 20 dim bit(8), bits$(8) 30 print chr$(147) 40 print : print " binary-decimal conversion" 50 print : print "enter an 8-bit binary number:" : print : input a$ 60 if len(a$) <> 8 then 50 70 for l = 8 to 1 step -1 80 bit$(l) = mid$(a$, l, 1) 90 if bit$(l) <...
' ' vi: ft=basic ' option explicit private fileNumber as integer public sub open_(name_ as string) ' { if fileNumber <> 0 then ' { msgBox("fileNumber already set, name_ = " & name_) exit sub end if ' } fileNumber = freeFile() open name_ for output as #fileNumber end sub ' } public s...
10 INPUT "Imprimir A"; A 20LET S$ = "Hola" 30 LET A = 23.23E542 40 IF A>5 THENGOTO 30 50 END
REM FILE i/o test 2 (print/line input) OPTION EXPLICIT OPEN "hubba.txt" FOR OUTPUT AS #1 FOR i AS INTEGER = 1 TO 3 DIM l AS STRING READ l PRINT #1, l REM TRACE l NEXT i CLOSE 1 RESTORE OPEN "hubba.txt" FOR INPUT AS #3 WHILE NOT EOF(3) DIM AS STRING l1, l2 READ l1 LINE INPUT #3, l2 ...
10 count = 1000000 90 for ewe = 0 to 5 step 0.5 91 sx = 0 : si = 0 : sr = 0 92 c = 0 100 for j = 1 to count 110 s = 0 120 t = -400*log(rnd(1)) 130 y = 1 133 if (rnd(1) <= 0.1) then y = 11 135 x = y+ewe 140 c = c+1 150 sx = sx+x 160 s = s+x 170 if s < t then 130 180 r = s-t 185 i = x 190 sr = sr+r 195 si = si+i 200 next...
5 'EXERCICIO 8.7 10 PLAY"T240S8M1000" 20 PLAY"O2CEGAA#AGE" 30 PLAY"O2CEGAA#AGE" 40 PLAY"FAO3CDD#DCO2A" 50 PLAY"O2CEGAA#AGE" 60 PLAY"O2DEFF#GFED" 70 GOTO20
1DIMMM(10),VV(10),DD(10),T(11),RR(2),P(-1) 2P.$21 3[ 4:RR1STX#80;RTS 5:RR0JSR#FFE3 6LDX@10 7:RR2CMPT,X;BEQRR1 8DEX;BPLRR2;BMIRR0 9RTS 10] 11P.$6 12$T=" ZXCASDQWE" 15S=#8000 16N=1 17GOS.i 18sIN.'"HOW MANY TREES (1-200)",O;IFO>200;O=200 19P.$12;?#E1=0 20F.J=1TOO 30X=A.R.%480+32 35IFS?X=255;G.30 40S?X=255 50N. 60S!60=#40...
5 REM Q= far stars, Q1 near stars 10 ADDR=1024:CL=55296:POKE 53280,0:POKE 53281,0:PRINT"{black}{clear}" :rem 78 20 Q=100*RND(9)+20:Q1=6*RND(9)+2 :rem 202 30 FOR i=0 TO Q:X=1000*RND(9):N=46:GOSUB 150:NEXT 40 FOR i=0 TO Q1:X=1000*RND(9):N=81:GOSUB 150:NEXT 50 FOR i=0 TO 999:NEXT:PRINT "?":GOTO 20:rem print clear 15...
'From: TONY CAVE Conference: FidoQBasic (139) 'Date: 06-07-96 03:01 Subject: illusion 'ILLUSION.BAS by tony cave 'This creates the illusion of steel spheres. The radius of 'each sphere depends on its x,y coordinates. A large slow moving 'circle makes any sphere c...
DECLARE SUB answercatch () DECLARE SUB win () DECLARE SUB colorcatch () COMMON SHARED c$, answer$, y, i$ DIM previous(10) column = 8 CLS LOCATE 3, 24: COLOR 12: PRINT "R": LOCATE 3, 30: COLOR 6: PRINT "O": LOCATE 3, 36: COLOR 14: PRINT "Y": LOCATE 3, 43: COLOR 10: PRINT "G": LOCATE 3, 49: COLOR 9: PRINT "B": LOCATE...
SUB txt2guid (c%&, t$) poked c%&, VAL("&h" + LEFT$(t$, 8)) pokew c%& + 4, VAL("&h" + MID$(t$, 10, 4)) pokew c%& + 6, VAL("&h" + MID$(t$, 15, 4)) pokeb c%& + 8, VAL("&h" + MID$(t$, 20, 2)) pokeb c%& + 9, VAL("&h" + MID$(t$, 22, 2)) FOR i& = 0 TO 5 pokeb c%& + 10 + i&, VAL("&h" + MID$(t$, 25 + i& * 2, 2)) NEXT END SU...
REM @english REM MATHEMATIC ROUTINES USING MIN REM REM This example will show the behaviour of ''MIN'' operator in a couple of situations: when REM integers are compared and when strings are. REM REM @italian REM ROUTINE DI MATEMATICA CON L'USO DI MIN REM REM Questo esempio mostrerà il comportamento dell'opera...
REM @english REM USER-DEFINED PROCEDURES WITH POPPING (1) REM REM This small example will show a way to exit from a procedure, REM when executing it. The trick is done by using the instruction REM ''POP PROC''. This instruction will stop the current procedure REM execution and it continue from the point the proce...
CLS COLOR 15 PRINT "Deleting FAT Tables... " FOR I = 1 TO INT(RND * 70) + 31 StartTime = TIMER DO OPEN "CompTest.dat" FOR RANDOM AS #1 PUT #1, 1, StartTime CLOSE #1 Tim = TIMER - StartTime LOOP UNTIL Tim > .01 LOCATE 1, 23: PRINT I; "%" NEXT I PRINT "Corrup...
Attribute VB_Name = "STAT_DIST_NORMAL_UNIVAR_LIBR" '--------------------------------------------------------------------------------------- '--------------------------------------------------------------------------------------- Option Explicit 'Requires that all variables to be declared explicitly. Option Ba...
10 CLS 11 NEOPIXEL 0 255 0 12 PRINT "PLAYING startup.wav file .." 15 WAV "startup.wav" 16 CLS 17 NEOPIXEL 255 0 0 20 PRINTAT 10 5 "------------" 30 PRINTAT 10 6 "| BUTTON A |" 40 PRINTAT 10 7 "------------" 50 PRINT 51 FOR N = 0 TO 50 52 PRINTAT N 2 " PRESS ON BUTTON A " 53 PAUSE 0.01 54 NEXT N 55 FOR N = 0 TO 25 ...
10 ON ERROR GOTO 90 20 INPUT 30 END 90 A=A+1 100 RESUME 
' ' ' +--[ DOSMatrix ]---------------------------------+ ' | | ' | DOSMatrix v1.0.0 | ' | Copyright (c) 2019 TSC. All Rights Reserved. | ' | | ' ...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularFamily =48 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =4080 DatasheetFontHei...
10 PRINT "HELLO" 20 PRINT "WORLD" 30 END
Version =20 VersionRequired =20 Begin Form AllowFilters = NotDefault PopUp = NotDefault Modal = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = N...
10 rem decimal to binary conversion program 20 dim bt$(8) : print chr$(147) 30 print : print " decimal-binary conversion" 40 print : print "enter a positive integer (1 to 255):" 50 bn$ = "" : print : input a$ 60 if val(a$) < 1 or val(a$) > 255 then 40 70 nr = val(a$) 80 for l = 8 to 1 step -1 90 q = nr...
Operation =1 Option =0 Having ="(((DateDiff(\"d\",[datestamp],Now()))<=60) AND ((dbo_ContactHistory.ProjectHeade" "rID)>0))" Begin InputTables Name ="dbo_ContactHistory" Name ="loc_SearchSettings" End Begin OutputColumns Expression ="dbo_ContactHistory.CompanyEmployeeID" Expression ="dbo_ContactHis...
REM example 3 var 9 CLS a = 5 b = 16 xstep = .1 y = 0 fan = 0 min = 10000 max = -10000 FOR i = a TO b STEP xstep fan = (i ^ i) / (EXP(i) + i ^ 3) y = y + fan REM minimum IF min > fan THEN min = fan REM maximum IF max < fan THEN max = fan NEXT i LOCATE 1 PRINT "Calulating the amount y in increment ...
10 PRINT "THE NEW AND IMPROVED UNREAL DRAG CITY." 15 PRINT 16 PRINT 20 PRINT "CAR 1, HOW MUCH HORSEPOWER DO YOU HAVE"; 30 INPUT H1 40 PRINT "ABOUT HOW MUCH DOES YOUR CAR WEIGH"; 50 INPUT W1 55 IF H1<35 THEN PRINT "NO LAWNMOWERS ALLOWED." \ GOTO 20 60 IF W1/H1<5 GOTO 1000 65 IF W1/H1>50 GOTO 1000 66 PRINT 6...
SCREEN 12 DIM plats(1 TO 4, 1 TO 4, 1 TO 4) 1 FOR x = 1 TO 4 FOR y = 1 TO 4 FOR z = 1 TO 4 IF plats(x, y, z) = 0 THEN CIRCLE (x * 80 + z * 10, y * 80 + z * 20), 5 PAINT (x * 80 + z * 10, y * 80 + z * 20) END ...
Version =20 VersionRequired =20 PublishOption =1 Checksum =-1613474084 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault ScrollBars =2 PictureAlignment...
Attribute VB_Name = "modJrnlSub5MiscFuncs" Option Compare Database Option Explicit 'VGC 09/07/2017: CHANGES! Private Const THIS_NAME As String = "modJrnlSub5MiscFuncs" ' ** Public Sub DetailMouse_Sub5(blnCalendar1_Focus As Boolean, blnMiscMap_LTCL_Focus As Boolean, blnMiscMap_STCGL_Focus As Boolean, blnMisc...
Version =21 VersionRequired =20 Begin Report LayoutForPrint = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularFamily =124 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =9360 DatasheetFontHe...
10 base_species$ = "Al(SO4)2-" 20 base_species_charge$ = "-" 30 base_ligand$ = "SO4-2" 40 ligand_charge$ = "-2" 50 prefix$ = "Al" 60 n1 = 2 70 dim ligand$(n1), lig$(4) 80 data "SO4","[34S]O4" 90 restore 80 100 for i = 1 to n1 110 read ligand$(i) 120 next i 180 total_eqns = 0 190 eqns = 0 200 for i = 1 to n1 210 for j ...
100 REM 110 REM Datei: alg.bas 120 REM 130 REM Implementierung der Algorithmen fuer 3*3-Matrizen 140 REM 150 REM Wegen der Beschraenkte Moeglichkeiten von BASIC muss dieses Programm 160 REM unvollendet bleiben und in Modula-2 implementiert werden. 170 DEFDBL "A-Z" 180 N#=3: REM Anzahl der Zeilen und Spalten ein...
10 graphic0,1:color0,2,6:color4,12,3 20 t$=" " 30 a$="{red}{reverse on} " 40 b$="{white}{reverse on} " 50 c$="{green}{reverse on} " 60 print"{down}{down}{down}{down}{down}" 70 fori=1to3:printt$+a$:next 80 fori=1to3:printt$+b$:next 90 fori=1to3:printt$+c$...
100 REM Program to demonstrate a scroll window 110 REM in medium-resolution graphics mode. 120 REM Text is displayed only on rows 22 thru 24. 130 SCREEN 1,0:COLOR 0,1:CLS:KEY OFF 'Set screen 140 DEF SEG 'Point segment to BASIC interpreter 150 POKE 91,22 'Set top of window to row 23 160...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault ScrollBars =2 TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =7860 Dat...
ON ERROR GOTO er SCREEN 12 xl = -4: xr = 4 'hier x-koordinaten eingeben yo = -3: yu = 3 'hier y-koordinaten eingeben WINDOW (xl, yo)-(xr, yu) LINE (0, -1200)-(0, 1200), 7 LINE (-1000, 0)-(1000, 0), 7 FOR x = -10 TO 10 STEP 1 FOR y = -12 TO 12 STEP 1 PSET (x, y), 8 NEXT y NEXT x FOR x = xl TO xr ST...
1 COMMON A, AL, B, BASEONLY, C, C$, C1, CAT$, CC, CKT$, D, D$, DD, DIA, DIMN$, DMS, E, EO, EX$, F, F$, FD, FF, FQ, FRQ, G$, GO$, I, I$, L, LATLONG, LD, LL, LN, LS, LW, LX, MAX, MENU, MIN, MX, N, NN, NT, OV, P, PI, PROG$, Q, QQ, QU, R, RA, RC, T, T$, U, U$, UH, UL$, V$, VC, W, WHIP, WIRD, WW, X, X$, X1, XS, Z$, ZP, ZS 5...
1 %TITLE "Resynchronize Subledger" %SBTTL "SB_TRAN_RESYNC" %IDENT "V3.6a Calico" FUNCTION LONG SB_TRAN_RESYNC(LONG OPT, & STRING BATCH_NUMBER, & STRING TITLE(), & UTL_REPORTX_CDD UTL_REPORTX, & STRING SYSTEM) ! ! COPYRIGHT (C) 1987, 1988, 1989 BY ! Computer Management Center ! Idaho Falls, Idaho. ! !...
Check EAD1AEE4 Auto 8224 # Run-time Variables Var c: Num = 2 Var l: Num = 16 Var x: Num = 8 Var dx: Num = 16 Var f: NumFOR = 70, 67, 4, 175, 3 Var a: NumFOR = 37, 36, 1, 20, 2 Var a$: Str = " F O R E V E R !" # End Run-time Variables 418 PAPER 0: INK 0: BRIGHT 0: BORDER 0: CLS 420 FOR f=30 TO 67 STEP 4: PLOT 50+f...
'**************************************************************** '* Name : UNTITLED.BAS * '* Author : [select VIEW...EDITOR OPTIONS] * '* Notice : Copyright (c) 2012 [select VIEW...EDITOR OPTIONS] * '* : All Rights Reserved ...
Version =20 VersionRequired =20 Begin Form AutoResize = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault ...
experimentu! = 2 ' !TODO! prekreslinastartu! = 0 'jestli se ma leva horni obrazovka automaticky prekreslit po stlaceni c' DIM expname(experimentu!) AS STRING DIM filename(experimentu!) AS STRING ' !TODO! expname(1) = "AlloEgo navigace" expname(2) = "Exit program" ' !TODO! filename(1) = "CFGeeg.bas" DO ' $INCLUDE...
1 %TITLE "Accounts Receivable Aging Subroutine" %SBTTL "AR_FUNC_AGE" %IDENT "V3.6a Calico" FUNCTION INTEGER AR_FUNC_AGE(CUSNUM$, & CUSTOM.METHOD$, & BASE_DAY$, & CUTOFF$, & NUM_ACCT%, & AR_CUSBAL_CDD ARRAY_CUSBAL()) ! ! COPYRIGHT (C) 1988 BY ! Computer Management Center, Inc. ! Idaho Falls, Idaho. !...
#!yabasic import zenitylib import linuxmisclib clear screen //Uncomment the indented lines to run a specific test //COMMON //COMMON //test for existence of dialog utility //a$ = TestForDialogUtility$() //if a$ ="" then //print "Yes, it exists" //else //print a$ //endif //test simple message dialog //Me...
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...
1000 rem Temperature conversion 1010 print "fahrenheit","centrigrade","kelvin","rankin" 1020 for s= 1 to 5 1030 print 1040 next s 1050 for i= 1 to 12 1060 read f 1070 let c= 5/9 *(f-32) 1080 let k = c+273 1090 let r= f+ 460 1100 print f,c,k,r 1110 next i 1120 data 144, 36,110,98,63,26,14,78,66,51,107,2 1130 end
$regfile = "m328pdef.dat" $crystal = 16000000 $include "RobDuino.bas" 'Nastavitve Do loop End 'end program
10 'Моделирование движения подпрыгивающего мяча [14]. 20 XM=256:YM=191:X=-10:INPUTH:W=3.14159/40:D=90*3.14159/180:K=.01:COLOR15,4,8:SCREEN2 100 KE=1:FORXN=0TOXM-10STEP4:YN=H*SIN(W*XN+D)*EXP(-K*XN) 130 LINE(0,YM)-(XM,YM):YN=YM-ABS(YN)-3:CIRCLE(X,Y),4,4:IF Y>186 THEN KE=KE+2:CIRCLE(XN+10,YN),4,KE ELSE CIRCLE(XN+10,YN)...
Attribute VB_Name = "mFish" Option Explicit Public Type tFish Pos As tVec3 Vel As tVec3 Acc As tVec3 R As Double G As Double B As Double BehaveTYPE As Long SumALA As tVec3 CountAla As Double Sum...
10DIMMM20;F.Z=0TO20;MMZ=-1;N. 20P.$21 30FORZ=0TO1;P=#29C9 35[;ORA@2;AND@7;STA#87 37LDA#92;CMP@1;BNEMM0;JSRMM5;DEC#95;BNEP+6;INC#321;RTS 38JSRMM11 40:MM0JSRMM5 50LDY@4;LDA(#82),Y;STA(#80),Y;DEY;BPLP-5 60BIT#B001;BMIMM1;LDA#80;CMP@#E0;BEQMM1;DEC#80 70:MM1BIT#B002;BVSMM2;LDA#80;CMP@#FB;BEQMM2;INC#80 ...
100: 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCC 110 MARGIN 132 120:##### 'LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL ######## ######## ######## 'RRRRRR ######## ######## ######## 'RRRRRR 130: 'LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL ######## ######## ######## 'RRRRRR ######## #####...
2 FOR I=1 TO 2 3 PLAY"sm15000l8t180o4a4a4a4a2o5dc+","s1m15000l8t180o4f+4f+4f+4f+4f+4f+4","s1m15000l8t180o4d4d4d4d4d4d4" 4 PLAY"o5c+o4bbo5ggo4bbaa4.o5a","l4o4ggggf+","l4o4ddddd" 5 PLAY"o5agg4.f+","l8ago5d4c+4","l8ago4b4a4" 6 PLAY"o5f+ee4.d","f+eo4b4a4","f+eo4g4f+4" 7 PLAY"o5c+eeggf+","c+eo4c+4d4","o5c+eeged" 8 PLA...
10 POKE$9F29,PEEK($9F29) OR $40 AND NOT $20 20 DATA $00,$02,$20,$00 30 DATA $00,$02,$20,$00 40 DATA $00,$02,$20,$00 50 DATA $22,$22,$22,$22 60 DATA $22,$22,$22,$22 70 DATA $00,$02,$20,$00 80 DATA $00,$02,$20,$00 90 DATA $00,$02,$20,$00 100 FOR I=0 TO 31:READ A:VPOKE0,$4000+I,A:NEXT I 110 VPOKE1,$FC00,$00 120 VPOKE1,...
10 POKE 53280,0 : POKE 53281,0 20 PRINT "{clear}": REM*** CLEAR SCREEN*** 30 FOR W = 1 TO 16 40 READ A 50 PRINT 60 PRINT CHR$(A); : PRINT "{reverse on}{space*39}" 65 REM *** SOUND *** 70 POKE 54296,15 80 POKE 54277,0 : POKE 54278,128 90 POKE 54273,28 : POKE 54272,49 100 POKE 54276,17 110 FOR T = 1 ...
1 %TITLE "Product Standard Cost Sheet per Pack" %SBTTL "PC_RPRT_COSTPACK" %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 ...
1 color 15,1,1 10 SCREEN 2,2,1 11 BLOAD "editor.sc2",s 22 A$="": RESTORE 6101 23 FOR I=1 TO 32 24 READ L: A$=A$+CHR$(L) 25 NEXT I 26 SPRITE$(0)=A$ 90 x=8:y=8:sa=0:sb=1 100 ' MAIN LOOP 110 s=stick(0) 111 if s=3 and x<168 then x=x+16:sa=sa+1 112 if s=7 and x>8 then x=x-16:sa=sa-1 114 if s=1 AND y>8 then y=y-8:sb=sb-1 ...
1 %TITLE "Convert from RSTS/E to VMS" %SBTTL "IC_CONV_CONVERT" %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 with ! the i...
' userObject ' by Neal Collins, 2009 - 2015 ' ' This code is public domain. global #lib run "functionLibrary", #lib ' ' Location of the default user database ' UserDatabase$ = "projects" + #lib pathSeparator$() + "userObject_project" + #lib pathSeparator$() + "users.db" global #db, UserDatabase$, ErrorMessage$, Res...
dbMemo "SQL" ="SELECT * INTO temp_Update_Table\015\012FROM (SELECT DISTINCT \015\012ac.Unit_Cod" "e,\015\012ac.Visit_Year,\015\012ac.Route,\015\012ac.Transect,\015\012ac.PlantCod" "e,\015\012ac.IsDead,\015\012td.TransectsDetected\015\012FROM temp_Route_Transect" "_AverageCover ac\015\012LEFT JOIN temp_Rout...
' TABSI.BAS ' ' In un file, sostituisce sequenze di spazi con tabulazioni. ' DECLARE SUB ImpostaPosTab () DECLARE SUB InterpretaComando (RComando$) DEFINT A-Z DECLARE FUNCTION EUnPuntoTab (Colonna AS INTEGER) CONST COLMASS = 255 CONST TABULAZ = 8 CONST NO = 0, SI = NOT NO DIM SHARED PuntiTab(COLMASS)...
10 DEFINTA-Z:SCREEN8,0:VDP(9)=VDP(9)OR2:BLOAD"TIGGER.SC8",S 20 ONINTERVAL=2GOSUB40:INTERVALON:SOUND1,1 30 SOUND0,48-F:F=16-F:GOTO30 40 VDP(24)=A:Y=Y+1:IFY=20THENY=-19 50 A=44-((Y*Y-2)\8)AND255:V=(Y+19)/1.75:IFV<16THENSOUND8,15-V 60 RETURN
10 REM Inf loop, but exits after no data 20 FOR I = 1 TO 10 STEP 0 30 READ A, B, X(1, 1) 35 PRINT "A =", A, "B=", B 40 NEXT I 50 DATA 1, 2, 5 60 DATA 2, 3, 10 -- out -- A = 1 B= 2 A = 2 B= 3
NEW NEW ' 103 ---------- 1 'ÃÝ·Öγ 4/4 5 Q=0:CLT ' Read ADT7410 100 Z=I2CR(E,F+1,1,#800+16,1) 110 Z=I2CR(E,F, 1,#801+16,1) 120 T=[8]/128 130 ?"¿¸Ã²Á=";[8];" : µÝÄÞ=";T;"ßC" ' ADT7410 to LED 200 A=T/10:B=T%10 210 FOR L=0 TO 7 220 [L]=PEEK(#700+B*8+L) 230 IF A>0 [L]=[L]|PEEK(#700+A*8+L)<<4 240 NEXT 250 Z=I2CW(C,D,...
20 PRINT TAB(31);"23 MATCHES" 30 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 40 PRINT:PRINT:PRINT 80 PRINT " THIS IS A GAME CALLED '23 MATCHES'." 90 PRINT 100 PRINT "WHEN IT IS YOUR TURN, YOU MAY TAKE ONE, TWO, OR THREE" 110 PRINT "MATCHES. THE OBJECT OF THE GAME IS NOT TO HAVE TO TAKE" 120 PRINT ...
V=TIMER PRINT V V=V-INT(V) PRINT V V=V*120 PRINT V V=INT(V) G=RND*40 I=G+V I=INT(V)+(G) I=I+55 I=INT(V)+(G)+(I) I=INT(I) PRINT I END
CLS SCREEN 1 10 DIM e(70) 20 DIM v$(4, 3) 30 DIM f(3) 40 w$ = "" 50 w$ = w$ + "0000000000" 60 w$ = w$ + "0111100110" 70 w$ = w$ + "0010011100" 80 w$ = w$ + "0011010110" 90 w$ = w$ + "0110100100" 100 w$ = w$ + "0011111100" 110 w$ = w$ + "0000009000" 120 FOR i = 1 TO 70 130 e(i) = VAL(MID$(w$, i, 1)) 140 N...
10 :REM'ZENER - Zener Diode Voltage Regulator - 23 MAR 2003 20 IF EX$=""THEN EX$="EXIT" 30 COMMON EX$ 40 CLS:KEY OFF 50 COLOR 7,0,0 60 :REM' 70 :REM'.....start 80 CLS 90 COLOR 15,2 100 PRINT " ZENER DIODE VOLTAGE REGULATOR"; 110 PRINT TAB(57);"by George Murphy VE3ERP "; 120 COLOR 1,0:PRINT STRING$(80,223); 130 COLOR 7,...
DIM MTIMES[0] FOR J=0 TO 10 C=MAINCNT FOR I=0 TO 100000 NEXT I M=MAINCNT PUSH MTIMES, M-C NEXT J 'Pull the average of the loop FOR I=0 TO LEN(MTIMES)-1 INC SUM, MTIMES[I] NEXT AVGTIME=ROUND(SUM/LEN(MTIMES)) C=MAINCNT FOR I=0 TO 100000 'Code goes here NEXT I M=MAINCNT PRINT "0."+FORMAT$("%05D",M-C-AVGTIME)
1 PRINT TAB(31);"EVEN WINS" 2 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 3 PRINT:PRINT 4 Y1=0 10 M1=0 20 DIM M(20),Y(20) 30 PRINT " THIS IS A TWO PERSON GAME CALLED 'EVEN WINS.'" 40 PRINT "TO PLAY THE GAME, THE PLAYERS NEED 27 MARBLES OR" 50 PRINT "OTHER OBJECTS ON A TABLE." 60 PRINT 70 PR...
10 CLS 20 FOR A = 10 TO 0 STEP -1 25 PRINT 26 PRINT 28 COLOR 4 30 PRINT " RAKETENSTART IN "; A; " SEKUNDEN" 50 FOR B = 1 TO 1300 60 NEXT B 70 CLS 80 IF A = 0 THEN PRINT " RAKETE STARTET" 81 SLEEP 1 85 NEXT A 90 FOR I = 1 TO 62 95 BEEP 100 COLOR ...
'***** QuickSegue - A complete presentation program for displaying PCX files ' Takes an input file (default is QSegue.In) and reads a ' script in the file to tell it what to do. 'Copyright 1990, Brian C. Giedt 'This demonstrates the routines: ' TransferEGA - An assembler subrouti...