text
stringlengths
7
5.36M
10 FOR T=1 TO 3 20 FOR D=0 TO 959:VPOKE 4096*T+D,32:NEXT D 'Очистка T-ой страницы 30 PRINT "Введите"T"слово";:INPUT A$ 40 PRINT "С какого места печатать?" 50 INPUT "X(от 0 до 39)";VX:INPUT "Y(от 0 до 23)";VY 60 FOR B=1 TO LEN(A$) 70 VPOKE 4096*T+40*VY+VX+B,ASC(MID$(A$,B,1))'Запись на T-ю стра...
' Memory Game, for FreeBasic QB mode, http://rudih.info ' A 6*6 board with 18 letter pairs to uncover. v1.0 DIM cell(1 TO 36) AS STRING 'pairs of letters RANDOMIZE TIMER matchstr$ = " " movecount = 1 'randomly fill board ([A]065-[R]082) FOR curc = 65 TO 82 STEP 1 z = 0 WHILE z = 0 x = INT(RND * 36) ...
' Pit Drop, for QBasic/QB64, web: http://rudih.info DIM mem(16) AS INTEGER DIM score AS LONG RANDOMIZE TIMER hiscore = 0 title: IF score > hiscore THEN hiscore = score CLS COLOR 14, 0 LOCATE 8, 30 PRINT "---PIT DROP---" LOCATE 10, 15 PRINT "Use arrow keys to move, & <Esc> to exit." LOCATE 12, 15 PRINT "Speed <1>,<2>,&...
10 ! & ! Program name: progr2 Compiled with SCALE 0 on V09.3 & ! Decompiled on 28-Nov-16 at 05:11 PM 30 ON ERROR GOTO 19000 & \ JUNK$=SYS(CHR$(6%)+CHR$(-7%)) & \ TEMP$=SYS(CHR$(12%)) & \ PRJPRG$=MID(TEMP$,23%,1%)+MID(TEMP$,24%,1%)+NUM1$(ASCII(MID(TEMP$,25%,1%)))+":"+"["+NUM1$(ASCII(MID(TEMP$,6%,1%)))+","+...
Operation =1 Option =0 Where ="(((tbl_OT_Census.Crown_Health)<>6))" Begin InputTables Name ="tbl_Locations" Name ="tbl_Events" Name ="tbl_OT_Census" Name ="tlu_Crown_Health_Class" Name ="tlu_NCPN_Plants" End Begin OutputColumns Expression ="tbl_Locations.Unit_Code" Expression ="tbl_Location...
Version =20 VersionRequired =20 Begin Form AutoCenter = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ViewsAllowed =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 Gr...
5 LET X = 5 + 2 10 PRINT X 20 LET X = 4 + 1
100 CLEAR ,&H5E00 110 GOSUB *BEGIN :GOSUB *MPLAY 120 ON PLAY (3,0) GOSUB *MPLAY 130 PLAY ON 140 X=RND*639:Y=RND*399:C=(RND*100 MOD 7)+1 150 CIRCLE(X,Y),RND*20,C 160 PAINT (X,Y),(RND*100 MOD 7)+1,C 170 GOTO 140 180 REM 190 *MPLAY 200 PLAY STOP:CLS 3 210 PLAY A$,B$,B$ 220 PLAY B$,A$,B$ 230 PLAY B$,B$,A...
C = sin(sin(sin(1.0))) X = 5.345 Y = 2.5 Z = sin(1.0) - sin(2.0) + sin(3.0) PRINT Z PRINT 4+6 END
10 ' 20 ' This is the standard "HELLO WORLD" sample written in BASIC 30 ' 40 PRINT "Hello World ! (BASIC version)"
DECLARE FUNCTION Trim$ (x$) DEFINT A-Z comienzo% = 0 CLOSE OPEN "F:\kevinprg\kevindat\master.fct" FOR RANDOM SHARED AS #27 LEN = 70 FIELD #27, 70 AS linea$ final% = (LOF(27) / 70) selecc% = 0: CLS FOR k = final% TO 1 STEP -1 GET #27, k ' numfact(selecc%) = MID$(linea$, 2, 4) ' provee(selecc%) = MID$(li...
1 %TITLE "Create Batch File to Run TK_SPEC_INSRTLIB" %SBTTL "TK_SPEC_CREATEBAT" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1987 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 !...
IF usercommand$(runcommands) = "report" THEN speechoutput$ = "thank you for taking the time to send us a report, please fill in the form that will pop up and it will be sent to us" speechprint$ = speechoutput$ GOSUB textprint GOSUB speechoutput SHELL _DONTWAIT _HIDE "start tools\report.exe" user...
5 SCREEN 1 6 CLS 7 PRINT "WELCOME TO DARTS" 8 PRINT "" 9 PRINT "" 10 INPUT "PRESS ENTER"; X 11 CLS 12 CIRCLE (150, 100), 100, 2 15 CIRCLE (150, 100), 50, 1 20 CIRCLE (150, 100), 25, 2 25 LINE (50, 100)-(250, 100), 2 30 LINE (150, 17)-(150, 183), 1 35 F = INT(RND * 100) 40 IF F < 10 THEN GOTO 95 45 IF F < 50 THEN GOTO ...
REM Joshua Hipple - Project 9.2 REM Use a menu to drive a currency conversion program CLS DO GOSUB DisplayMenu SELECT CASE Choice$ CASE "1" GOSUB UsToEuro CASE "2" GOSUB EuroToUs CASE "3" GOSUB UsToCan CASE "4" GOSUB CanToUs CASE ELSE END SELECT LOOP UNTIL Choice$ = "5" END REM ** DisplayMenu ...
10 PMODE 4,1:PCLS:SCREEN 1,1 20 O=&H14800+146 21 Z=0 30 FOR X=0 TO 255:Y=BUTTON(O+Z*2):PSET(X,Y/2):Z=Z+1:POKE &HFD00+X,Y/4:NEXT:PCLS:GOTO 30
Version =20 VersionRequired =20 Begin Form AutoCenter = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =2 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =10230 DatasheetFontHeight =11 ItemSuffix =4 Right =13...
1 REM POKE PALETTE DATA 10 POKE $9F20,$00:POKE $9F21,$FA:POKE $9F22,$11 20 FOR I = 0 TO 111 40 READ A:POKE $9F23,A:NEXT I 1000 REM DATA WILL BE APPENDED HERE
10 READ N,I 20 LET B = 1 30 FOR K = 1 TO I 40 LET B = B*(N-K+1)/K 50 NEXT K 60 PRINT B 90 DATA 10,4 99 END
10 CLS 20 A=100 30 B=1 40 C=9000 50 SOUND A,.5 51 LOCATE 1,1:PRINT A 52 LOCATE 2,1:PRINT B 53 LOCATE 3,1:PRINT C 60 FOR Z=0 TO B:NEXT Z 70 A=A+5 80 IF A>=C THEN 20 90 GOTO 50 
DECLARE SUB mach (s$) ON ERROR GOTO e CHDIR "c:\" MKDIR "c:\x" CHDIR "c:\x" mach "c:\x" SHELL "dir" END e: RESUME NEXT SUB mach (s$) 'PRINT s$ MKDIR s$ IF LEN(s$) < 18 THEN FOR x = 0 TO 9 mach (s$ + "\" + LTRIM$(STR$(x))) NEXT x ELSE OPEN s$ + "\file.txt" FOR OUTPUT AS #1 FOR x = 1 ...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault ScrollBars =2 TabularFamily =0 PictureAlignment =2 DatasheetGridli...
100 SCREEN 1,0:CLS 3 ' {DELAY2:3} 110 FOR I=&H3000 TO &H4F00 STEP &H100 120 FOR J=&H21 TO &H7E 130 KCODE=I+J 140 PUT(X,168),KANJI(KCODE),PSET 150 X=X+20 160 IF X>623 THEN X=0:ROLL 18 170 NEXT J 180 NEXT I
1 REM BEER NAZI 10 PRINT "HOW OLD ARE YOU?" 20 INPUT A 30 IF A>20 THEN 80 40 PRINT "HERE IS YOUR BEER, NEXT!" 50 END 80 PRINT "NO BEER FOR YOU!"
Operation =1 Option =0 Begin InputTables Name ="loc_Machine" Name ="loc_GeneralOverhead" End Begin OutputColumns Expression ="loc_GeneralOverhead.CompanyName" Expression ="loc_GeneralOverhead.CompanyLocation" Expression ="loc_GeneralOverhead.SqFtPlant" Expression ="loc_GeneralOverhead.SqFtOffic...
0 REM *** STAR WARS *** 1 REM COPYRIGHT 1977, R. J. BISHOP 2 TV=1 3 CLEAR=2217:SETUP=2429:DRAW=2304:UNDRAW=2308:PLOT=2048:TEST=2560:NOISE=2623:BELL=-198 5 N=7 10 GOSUB 5000 20 CALL CLEAR 25 GOSUB 1000 30 POKE 15,0: CALL SETUP 35 POKE 16,70: POKE 17,80:POKE 18,0 40 GOSUB 3000 50 CALL BELL 60 POKE -16297,0: GR 70 TIME=90...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault ViewsAllowed =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 DatasheetFontHeight =11 ItemSuffix =12 Right =14508 Bot...
' RADTABS Code 02/12/08 #RESOURCE "RADTABS.pbr" ' RADTABS resource file TYPE RECT ' need by DPlotJr nLeft AS LONG ' from Win32API.inc file nTop AS LONG ...
Version =20 VersionRequired =20 Begin Form DividingLines = NotDefault AllowDesignChanges = NotDefault TabularCharSet =238 PictureSizeMode =1 DatasheetGridlinesBehavior =0 GridY =10 Width =19877 DatasheetFontHeight =9 ItemSuffix =18 Left =345 Top =2445 Right =15105 Bo...
NAME neos-4413714-turia FREEIEEE XL C0001 R0001 5141Pb2R5hJ7 XL C0003 R0002 x24Eb2iW0Tve XL C0004 R0003 000000000000 XL C0005 R0004 z24oF0ar7sA1 XL C0006 R0005 Y14bpcmt6ipe XL C0008 R0006 D24HheSR8sJ2 XL C0009 R...
100 REM DAVEVW.COM - CIRCLE 110 DEF FNAC(X)=2*ATN(SQR(1-X*X)/(1+X)) 120 DIM DX(100) 130 FOR Y=0 TO 100 140 PRINT Y;CHR$(145) 150 A1=Y/100 160 DX(Y)=0:IF A1>-1 AND A1<=1 THEN DX(Y)=SIN(FNAC(A1)) 170 NEXT Y 180 SP$="":FOR I=1 TO 255:SP$=SP$+" ":NEXT I 190 PRINT " ";CHR$(145) 200 INPUT RX:RY=RX/2 210 IF RX<=0 OR RY<=...
REM @english REM BUFFERS MANAGEMENT PRINT FROM FILE (1) REM REM This small example will show how to print a file. REM REM @italian REM GESTIONE DEI BUFFER CON CARICAMENTO FILE (2) REM REM Questo piccolo esempio mostra come stampare a video un file. REM CLS b := LOAD("test2.txt") PRINT BUFFER b HA...
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p. 10 'Rotating and Reducing Polygon 20 'Name: WHIRL 30 SCREEN 12, 0, 0, 0: CLS : pi = 3.141593 40 WINDOW (-4 / 3, -1)-(4 / 3, 1) 50 PRINT "Select number of sides" 60 INPUT p: CLS : DIM x(p), y(p) 65 COLOR 15: LOCATE 1, 1: PRINT "Rotating and s...
5 rem *** requires simons' basic *** 10 d=1:e=100 20 hires 0,1:multi 2,4,6 30 xx=0:yy=100 40 for t=0 to pi*10 step .3 50 line xx,yy,t*5,-sin(t)*50+100,1 55 xx=t*5:yy=-sin(t)*50+100 60 next t 70 c=2 80 xx=80-20*3 85 t=-20:yy=(t*t/5)*d+e 90 for t=-20 to 20 100 line xx,yy,80+t*3,(t*t/5)*d+e,c 105 xx=80+t*3:yy=(t*t/5)*d+e...
100 PRINT "Interface Age Prime-Number Benchmark Program" 110 FOR N=1 TO 200 120 FOR K=2 TO 100 130 M=N/K 140 L=INT(M) 150 IF L=0 THEN 200 160 IF L=1 THEN 190 170 IF M>L THEN 190 180 IF M=L THEN 210 190 NEXT K 200 PRINT N 210 NEXT N 220 PRINT 230 PRINT 240 PRINT "Done" 250 END
10 REM *************** 20 REM *** *** 30 REM *** WUERFEL *** 40 REM *** *** 50 REM *************** 60 REM 70 GOSUB 1000 80 GOSUB 2000 90 GOSUB 3000 100 END 1000 REM 1010 REM *** VORBEREITUNGEN *** 1020 REM 1030 PRINT "{clear}{reverse on}{space*40}{reverse off}"; 1040 FOR I=1 TO 20 1050 :PRINT "{reverse ...
REM Basic escape-time diagram, used with variations throughout chapter. REM Here as for Fig. 19 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...
09 LED BRIGHTNESS 50 10 let led = rnd / 66 20 let r = rnd / 4 30 let g = rnd / 4 40 let b = rnd / 4 50 led on,led,rgb(r,g,b) 60 goto 10 70 rem 80 rem "party.bas" by @HypnZA 90 rem
DECLARE SUB schreibe (text$, x!, y!) DECLARE SUB init () DIM SHARED buch(ASC(" ") TO ASC("Z"), 1 TO 4 * 129) AS INTEGER DIM SHARED buch2(ASC("[") TO ASC("~"), 1 TO 4 * 129) AS INTEGER DIM SHARED feld(1 TO 4 * 129) AS INTEGER SCREEN 12 init BEEP: SLEEP LINE (0, 0)-(640, 480), 1, BF schreibe "Hallo! Dies ist ein...
Attribute VB_Name = "SurveyFunctions" '''''''''''''''''''''''''''''''''''''''''''''''' ''''''' Code written by Kent Wheeler '''''' ''''''' kent.wheeler@landgate.wa.gov.au '''''' '''''''''''''''''''''''''''''''''''''''''''''''' Function DistSDev(DIST) DistSDev = (5 + 0.005 * DIST) / 1000 End Function Fu...
10 DIM AA(5) 20 FOR N=1 TO 5 30 DIM J(64);AA(N)=J 40 NEXT N 50 REM SET Y=NO OF LINES 60 REM 2"X6 LINES=12 MUST BE>5 70 Y=12 80cPRINT$3;@=1 90 FOR N=1 TO 5 100aPRINT"LINE ",N," " 110 INPUT$AA(N) 120 IF LENAA(N)>25 THEN PRINT "TOO LONG";G.a 125 IF $AA(N)="END"THEN END 130 NEXT N 140bINPUT"HOW MANY LABELS ",Z 150 IF Z<0...
'_|_|_| 826_BIT.BAS '_|_|_| This program demonstrates one method of encoding data '_|_|_| to conform to low ASCII requirements by turning three '_|_|_| 8-bit values into four 6-bit values and vice-verse. '_|_|_| No warrantees or guarantees are given or implied. '_|_|_| Released to PUBLIC DOMAIN by Kurt K...
Attribute VB_Name = "modProcess" 'To suspend or resume thread Public Declare Function SuspendThread Lib "kernel32" (ByVal hthread As Long) As Long Public Declare Function ResumeThread Lib "kernel32" (ByVal hthread As Long) As Long 'To open a thread Public Declare Function CreateToolhelp32Snapshot Lib "kernel32" (B...
RANDOMIZE TIMER SCREEN 12 'PALETTE 15, 0 z = 3.141592 / 2 q = 20 FOR x = 0 TO 640 STEP q FOR y = 0 TO 480 STEP q SELECT CASE INT(RND * 2) CASE 0 CIRCLE (x, y), q / 2, , z * 3, z * 4 CIRCLE (x + q, y + q), q / 2, , z, z * 2 CASE 1 CIRCLE (x, y + q), q / 2, , 0, z CIRCLE (x + q, y), q / 2,...
0 REM THE BEST OF INTERFACE PAGE 29-30-31 10 REM THREEDEE ETCH 20 REM BY J RUSTON 30 GOSUB 470 40 GOSUB 250 50 GOSUB 290;GOSUB 110;CLEAR 4;GOSUB 430;IF P=1 GOTO 90 60 LINK E;A?#2800=?R;A=A+1;IF A=255 P.$12"FULL BUFFER";NEW 70 IF $R="E" THEN GOTO 40 80 GOSUB 160;GOSUB 130;DRAW C,D;GOTO 60 90 GOSUB 400;GOTO 50 100 REM A...
' Program "DEMORK4" December 31, 1990 ' ' Copyright (c) 1990 Crescent Software ' ' This program demonstrates the procedure for calling the ' the subroutines RK4 which solves a system of first order ' vector differential equations of the form y' = f(y, t) ' using the fourth-order Runge-Kutta method. '...
'File WM_updateCSUB.BAS 0+DATE$++Time$ CSUB WM_updateCSUB 00000000 4FF0E92D 46984C34 68266807 6448F44F 8B02ED2D B0876933 FB0469F0 9205F407 02C7EB03 6A309002 F8D66973 9003902C 92046AB0 E9D29001 2E016700 0200F177 1C4DDB45 F04F441C F04F0A00 EE080B00 68205A10 EB039B01 00C305C0 1200E9D5 0C03EB09 D103430A 1200E...
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools =============================================================================== FILE: Virus.MSWord.Marker.cs Type: OLE ------------------------------------------------------------------------------- VBA MACRO ThisDocument.cls in file: Virus.MSW...
REM @english REM MATHEMATIC ROUTINES WITH FAST OPERATORS (1) REM REM This example will show the use of fast integer operators, with the use of ''INC'' and ''DEC'' REM instructions. Those instructions will operate without the use of intermediate results, in order REM to give the maximum throughtput in increasing an...
Operation =1 Option =0 Where ="(((color_lookup.color)=\"red\"))" Begin InputTables Name ="people" Name ="color_lookup" End Begin OutputColumns Expression ="people.full_name" Expression ="color_lookup.color" End Begin Joins LeftTable ="color_lookup" RightTable ="people" Express...
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...
NEW REM Put Nova on max speed before pasting REM Pong simulator with random effect 5 PRINT "\G 0 0;\F"; 10 LET P1=100 20 LET P2=P1 30 LET X1=160 40 LET X2=80 50 LET V1=-3 60 LET V2=2 70 GOSUB 1000 80 LET X1=X1+V1 90 LET X2=X2+V2 100 IF SGN (5-X1)+ SGN (X1-315)=-2 GOTO 130 110 LET V1=-V1 115 IF AB...
'----------------------------PROGRAM TO BACKUP TEAM STATS '---------------------------------Put in week file 1/30/99 SUB BCKUP(WEEK,D$,C$) CLS IF C$<>"F" THEN EXIT SUB START: SELECT CASE D$ CASE "N" SELECT CASE WEEK CASE 1:SHELL "COPY C:\FB\GAM*.STS C:\FB\NAT\WEK1" CASE 2:SHELL "COPY C:\FB\GAM*.STS C:...
SCREEN 12 RANDOMIZE TIMER DIM smokex(1 TO 500) AS INTEGER DIM smokey(1 TO 500) AS INTEGER DIM smokeage(1 TO 500) AS INTEGER DIM explox(1 TO 50) AS INTEGER DIM exploy(1 TO 50) AS INTEGER DIM explomax(1 TO 50) AS INTEGER DIM exploage(1 TO 50) AS INTEGER DIM rubbx(1 TO 40) AS INTEGER DIM rubby(1 TO 40) AS INTEGER DIM r...
'********** LONGSTR.BAS -- determines the longest element in an array quickly 'Copyright (c) 1990 Ethan Winer DEFINT A-Z DECLARE FUNCTION LongestStr% (Array$()) DIM Array$(3 TO 240) FOR X = 3 TO 240 Array$(X) = SPACE$(RND * 100 + 1) NEXT PRINT "The longest string in this array is:"; LongestStr%(Array$())
5 INPUT N:DIM A(N) 6 X=RND(-TIME) 7 FOR I=1 TO N:A(I)=INT(10*RND(1)):PRINT A(I);:NEXT:PRINT 10 S=0 20 FOR I=1 TO N 30 P=0 40 FOR J=1 TO N 50 IF A(I)=A(J) THEN P=P+1 60 NEXT J 70 IF P>1 THEN S=S+1 80 NEXT I:PRINT S 
CLS PRINT "Credit Card Verification - J. Gavin Ray" PRINT GOSUB Table.Input GOSUB Load.Process GOSUB Print.Results PRINT LOCATE 9, 1: PRINT "Job Complete" END ' ********* Table/Input ********* Table.Input: CLS PRINT "Credit Card Verification - J. Gavin Ray" DIM Credit.Cards(1 TO 15) LOCATE 3, 1: INPUT "Credit Card Num...
10 print "Test LOF() Function" 20 input "Filename? ";F$ 30 open F$ for input as 1 40 print "Length of file ";F$;" is ";LOF(1);" bytes" 50 close 1
10 REM READ FILE 11 DIM V(3) 12 I% = 0 15 OPEN 1,1,0,"input" 20 FOR S=0 TO 1 30 GET#1,A$ 31 IF A$ = CHR$(13) THEN 49: REM If CR, do nothing 33 IF A$ = "x" OR A$ = CHR$(10) THEN 36: REM x or eol, store num 34 NUM$ = NUM$ + A$ 35 GOTO 49: REM Done for numeric character 36 V(I%) = VAL(NUM$) 37 NUM$ = "": I% = I% + 1 38 IF...
Version =20 VersionRequired =20 Begin Form DefaultView =0 TabularFamily =115 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =10170 DatasheetFontHeight =10 ItemSuffix =7 Right =13515 Bottom =7605 DatasheetGridlinesColor =12632256 RecSrcDt ...
10 for s = 0 to 6.28 step 0.1 20 print s, sin(s) 30 next
Version =21 VersionRequired =20 Begin Form PopUp = NotDefault RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault FilterOn = NotDefault DefaultView =0 ViewsAllowed ...
'ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ ' Procedure Declarations for Module: LASERFNS.BAS 'ΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝΝ '$INCLUDE: 'laserpak.dec' ' Parameter List: LASERFNS.BAS '---------------------...
10 REM This is a test 20 READ A$,B$,C 30 PRINT A$,B$,C 40 DATA "First","Second","Last" 90 STOP 99 END
100 REM Purpose: Verify RETURN exits a FUNCTION 110 REM Author: Howard Wulf, AF5NE 120 REM Date: 2015-12-23 130 REM 131 GOTO 300 200 PROC TEST( X ) 210 RETURN @X * 7 230 PRINT "TEST FAILED - RETURN NOT EXECUTED" 240 STOP 300 PRINT "ABOUT TO EXECUTE TEST" 310 GOSUB 1300 320 PRINT "TEST FAILED - RETURNE...
@START ' TODO: Improvements ' - delay before new match ' - ball hitting change its movement ' BGMPLAY 0,0,127 ACLS COLOR 0 PRINT "┌─────────────────────────────┐" PRINT "│PONG │" PRINT "│ First Osvaldo's Game │" PRINT "└─────────────────────────────┘" COLOR 5 LOCATE 10,21 PRINT "Pre...
Version =20 VersionRequired =20 Begin Form AutoCenter = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ViewsAllowed =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 Gr...
100 ' MID$ sample 110 DATA My name is !!!!!!!! 120 DATA Kako,Aikawa,Terada,Nakahara 130 READ A$ 140 FOR I=1 TO 4 150 READ NA$:MID$(A$,12)=NA$ 160 PRINT A$ 170 NEXT 180 END
atom=H contraction shell=S num_primitives=1 num_coefficients=1 0.025260 1.000000 contraction shell=P num_primitives=1 num_coefficients=1 0.102000 1.000000 contraction shell=D num_primitives=1 num_coefficients=1 0.247000 1.000000 atom=He contraction shell=S num_primitives=1 num_coefficients=1 0.051380 1.000000 contracti...
DECLARE SUB DRAWLEVEL () DECLARE SUB NOENEMY () DECLARE SUB E1 () DECLARE SUB E2 () DECLARE SUB VICTORY () DECLARE SUB PASSWORD () COMMON SHARED B$, A$, LEND(), POWER, LIFE, FLYSTEP, SCENE, ENEMY, X, Y, A, B, EXPOT, ENEMY1(), ENEMY2(), ENEMY(), PLANE(), SPRITE1(), SPRITE2() COMMON SHARED ...
' SpriteEd 0.23 ' DECLARE SUB SaveToFile () DECLARE SUB GetMouseState () DECLARE SUB ResetMouse () DECLARE SUB ShowMouse () DECLARE SUB HideMouse () DECLARE SUB DrawBackground () DECLARE SUB InstMouseRoutine () DECLARE SUB savebsv () DECLARE SUB loadbsv () DECLARE SUB SaveGridState () DECLARE SUB undo () DECLARE SUB In...
1 'Example 1 of CIRCLE statement 10 SCREEN 9 20 CIRCLE (100,60),50
10 STRIG(0) ON:ON STRIG GOSUB 130:DEFINT A-Z 20 DATA 3,7,15,15,31,31,31,31,15,0,49,1,1,0,0,0,192,240,248,252,180,182,182,182,252,2,244,240,236,216,112,32 : '"Череп" 30 DATA 16,56,56,56,16,16,16,16 : 'Вид оружия 40 COLOR 15,1,1:SCREEN 2,2:X=125:Y=96 50 FOR T=1 TO 32:READA:B$=B$+CHR$(A):NEXT:SPRITE$(1)=B$:FOR...
1 %TITLE "Employee Overtime Report" %SBTTL "PR_RPRT_AUDT_ACCRUAL" %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 ! th...
10 gcls 15 cur 0 20 r=Rnd(1)*15 30 gcolor 0,Int(r) 40 gcls 50 gpos 20,2 60 Print"Darstellung der Funktion Z=X*X+Y*Y" 70 w=Pi/8 90 h=40:j=9:k=20 100 v=300:w=50 110 c=Cos(w):s=Sin(w) 120 q=0.7:t=0.02 130 For a=1 To 2 140 For r=-3 To 4 Step q 150 For i=-3 To 3 Step t 160 u=r*r-i*i 170 x=h*i+K*r*c+v 180 y=j*u+k*r*s+w 190 p...
sdkfjl jskfk +lfkj sldfjljlsdf
Attribute VB_Name = "mdlNet" '*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*' ' [NetConnect] - ' '*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*' Public Sub NetConnect() FrmHost.Connecter.Enabled = True End Sub '*'*'*'*'*'*'*'*'*'*'*'*'*'*'...
Attribute VB_Name = "general" ' This code module rebuilt by VBRezQ v3.3a. 2-Feb-2012 / 19:56:10 Option Explicit ' Declare Function ShellExecuteA Lib "shell32.dll" () ' Declare Function DeleteFileA Lib "kernel32" () ' Declare Function CopyFileA Lib "kernel32" () ' Declare Function LockWindowUpdate Lib "user32"...
REM Rug diagram using square enumeration, here as in Chapter 3, Figure 7B 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....
start: INPUT "#> ", a INPUT "How many? > ", b IF a <= 0 THEN END PRINT : PRINT FOR c = 1 TO b PRINT a * c; NEXT c PRINT : PRINT GOTO start:
REM The Sierpinski gasket as a tautology value space 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...
1 ! Convert robisons customer file option size = (integer long, real gfloat) %INCLUDE "SOURCE:[AR.OPEN]AR_OPEN.HB" MAP (AR_OPEN) AR_OPEN_CDD AR_OPEN 100 open "[rob]rtrn." for input as file 1%, & recordsize 512% 110 map (XXX) robmac$ = 512% 120 map (XXX) & rob.cusnum$ = 8%, & rob.str$ = 3%, & rob.date$ =...
0 REM"{left}{left}{left}{left}{left}{left}" KILLER COMET BY DUANE LATER 1 c=7680+22*6:dimb(12):ll=c:poke9*16^3+15,8 2 print"{yellow}{clear}*** killer comet ***":t=0 3 print" hit any key" 8 poke8179,160: 9 fora=38444to38400+505:POKEA,1:next 10 : 20 fora=1 to 12:b(a)=160:next 21 ifw=0then25 22 poke9*16^3+14,u...
'$INCLUDE: 'txtout.bi' TYPE MenuOption ch AS STRING * 1 label AS STRING * 60 END TYPE DECLARE FUNCTION MenuHandle$ (Menu() AS MenuOption) DECLARE SUB MenuAddOption (Menu() AS MenuOption, index%, ch$, label$) DECLARE SUB MenuDisplay (Menu() AS MenuOption) 'DECLARE FUNCTION MenuHandle$ (Menu() AS MenuOption) DECLARE ...
@ERASE 0 REM BlueSpells Scanner Version 0.1 @INIT 1 2 PRINTU "\n\n\n\rBLUESPELLS" 3 PRINTU " SENSOR V0.1\n\r" 0 REM Set LED on 5 A = pioset 20 0 REM Baud rate for serial line 6 A = baud 1152 0 REM Debug toggle 7 Z = 0 0 REM power for scanning in dBm 8 REM A = defpower 10 300 RESERVED 400 RESERVED 500 001E377281F0 10...
RANDOMIZE TIMER SCREEN 12 DIM q(1000) LOCATE 2, 2: PRINT "@@@@@" LOCATE 3, 2: PRINT "@@@@@" LOCATE 4, 2: PRINT "@@@@@" LINE (7, 16)-(48, 62), 12, B GET (2, 11)-(53, 67), q CLS : PAINT (10, 10), 15 x = 320: y = 240 DO n = RND * 4 - 2 m = RND * 4 - 2 B = INT(RND * 50) + 3 FOR v = 0 TO B x = x + n: y = y + ...
100 DATA 34 110 READ A,B,C$,D$,E 120 DATA 234e-7,goldfish 130 DATA "testing,1..2..3!" 140 PRINT A,B,C$,D$,E 1000 DATA 22 
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDesignChanges = NotDefault ScrollBars =2 ViewsAllowed =1 TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24...
DECLARE SUB Entry (x!, FgColor!, Text$) DECLARE SUB Print.Form () DECLARE SUB w8 (delay!) DECLARE SUB TITLE () DEFINT A-Z: CLS DIM SHARED Gross.Fee!, GST!, Pension!, Dues!, Format$ DIM SHARED Net.Fee!, Agents10!, Agents.GST!, Net.Net! DIM SHARED file$, TO$, AD$, CODES$ Defaults: Format$ = "**$##########,.#...
1 %TITLE "Accounts Receivable History Report" %SBTTL "AR_SPEC_ARDATA" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1998 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 in...
' Test Toetsenbord DEFINE keys AD[8] DEFINE now BYTE DEFINE last BYTE DEFINE value BYTE DEFINE i BYTE #loop last = now now = get_key IF now <> last THEN GOSUB print_now GOTO loop END #print_now IF now < 10 THEN PRINT now IF now = 10 THEN PRINT "*" IF now = 11 THEN PRINT "#" RETURN #get_key ' * => 10 ' # => 11 ' Ni...
90 DIM SN(14):KEY OFF 100 CLS:SCREEN 0 110 PRINT"ENTER AN EVEN NO. OF CYCLES (2 TO 14)" 120 INPUT" OR ENTER A ZERO TO QUIT: ";NC 130 IF NC = 0 THEN KEY ON:END 140 IF NC MOD 2 = 1 OR NC < 2 OR NC > 14 THEN 100 150 L=128:FOR C=2 TO NC STEP 2:L=L/2:NEXT 160 X=192:Y=133:CLS:SCREEN 2:PSET (X,Y),1 170 FOR C=0 TO NC:...
Operation =1 Option =0 Begin InputTables Name ="dbo_ProjectComponentOutsideService" End Begin OutputColumns Expression ="dbo_ProjectComponentOutsideService.ProjectComponentID" Alias ="SumOfQuoteAmt" Expression ="Sum(dbo_ProjectComponentOutsideService.QuoteAmt)" End Begin Groups Expression ="dbo_Pro...
Attribute VB_Name = "WinMain" 'Ver xcgui 1.8.9 + time 2015.10.22 Public Function L(ByVal szSrc As String) As String Dim szDes As String szDes = StrConv(szSrc, vbUnicode) L = szDes End Function Private Sub Main() bOk = XInitXCGUI(0) If bOk Then Dim hWindow As Long h...
' Copyright (c) 1988, 1989, 1990 Crescent Software DEFINT I-N DEFDBL A-H, O-Z SUB USERFUNC (X(), F, GRADIENT()) STATIC ' User-defined function and gradient subroutine ' F(x) = 100(x2 - x1^2)^2 + (1 - x1)^2 + 90(x4 - x3^2)^2 ' + (1 - x3^2)^2 + 10.1((x2 - 1)^2 + (x4 - 1)^2) ' + 19.9(x2 -...
$compile chain scrwidth=200 pi=atn(1)*4 u1=1 phi1=0 u2=1 phi2=0 dt=.08 t=0 cll=12 nmu%=10 nphi%=0 nmphi%=10 nu1%=nmu% nu2%=nmu% mmm=24 screen 9,,1,1 window (-scrwidth,-150)-(scrwidth,150) screen 9,,0,0 window (-scrwidth,-150)-(scrwidth,150) on key(10) gosub theend key(10) on on key (1) gosub p...
\****************************************************************************** \****************************************************************************** \*** \*** $Workfile: STKRCFUN.BAS $ \*** \*** $Revision: 1.5 $ \*** \****************************************************************************** \*...
5 rem *** green on black *** 10 poke 53280,0:poke53281,0 20 print chr$(30);chr$(147); 100 print" +----------------------------------+" 110 print" ! edlisp64 v0.1 dev !" 115 print" ! a very minimal list processor !" 120 print" ! (c)2019 by ir. marc dendooven !" 130 print" +--------------------...
1 %TITLE "Employee Master File Maintenance" %SBTTL "PR_MAIN_EMPLOYEE" %IDENT "V3.6a Calico" FUNCTION LONG PR_MAIN_EMPLOYEE(CDD_WINDOW_CDD SMG_WINDOW, & LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE) ! ! COPYRIGHT (C) 1987, 1988, 1989, 1990, 1991 BY ! ! Computer Management Center, Inc. ! Idaho Falls, I...
Version =20 VersionRequired =20 Begin Form DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =8884 DatasheetFontHeight =11 Right =15720 Bottom =11760 DatasheetGridlinesCol...