text
stringlengths
7
5.36M
Version =21 VersionRequired =20 Begin Form DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 Width =4920 DatasheetFontHeight =11 ItemSuffix =16 Right =21975 Bottom =11385 DatasheetGridlin...
Operation =1 Option =0 Begin InputTables Name ="qaz_sel_OT_Census_Report_c" Name ="qaz_sel_OT_Census_Report_b" End Begin OutputColumns Expression ="qaz_sel_OT_Census_Report_b.ParkPlot" Expression ="qaz_sel_OT_Census_Report_b.Visit_Year" Alias ="LongestNote" Expression ="qaz_sel_OT_Census_Report...
DECLARE SUB filechk (fdrive$, FPATH$, filen$, FOUND!) DECLARE SUB SVFILE (SVPATH$) DECLARE SUB CURVENUM () DECLARE SUB D10FILES () DECLARE SUB LASTPAGE () DECLARE SUB CHKLNDFL (ERREXIST) DECLARE SUB CHKUSOIL (SOILSVD) DECLARE SUB DESCHK (NLYR, ERREXIST) DECLARE SUB LAYER () DECLARE SUB LAYERSHEET () DECLARE SUB LYRCHK ...
' Copyright (c) 1988, 1989, 1990 Crescent Software DEFINT I-N DEFDBL A-H, O-Z SUB DERIV2 (NPTS, NDEG, X(), Y(), XVAL, YVAL) STATIC ' Differentiation of tabular data subroutine ' Input ' NPTS = number of X and Y data points (NPTS >= 4 ) ' NDEG = degree of interpolation ' ( 1 <= NDEG <=...
10 DIM FourDigitPassword INTEGER 20 FOR i = 0 TO 9 30 FOR j = 0 TO 9 40 FOR k = 0 TO 9 50 FOR l = 0 TO 9 60 FourDigitPassword = getFourDigits (i,j,k,l) 70 IF checkPasswordMatch(FourDigitPassword) = TRUE THEN 80 GOTO 140 90 ...
atom=Al contraction shell=S num_primitives=1 num_coefficients=1 0.01830 1.000000 contraction shell=P num_primitives=1 num_coefficients=1 0.01210 1.000000 contraction shell=D num_primitives=1 num_coefficients=1 0.0274 1.000000 contraction shell=F num_primitives=1 num_coefficients=1 0.05820 1.000000 contraction shell=G n...
10 REM Median program. 20 LET N = 0 30 DIM array(N+1) 40 PRINT "Enter a number, q to quit" 50 INPUT line$ 60 IF line$ = "q" THEN 100 70 LET N = N + 1 80 LET array(N) = VAL(line$) 90 GOTO 30 100 PRINT N, "numbers entered" 105 IF N = 0 THEN 1000 106 IF N = 1 THEN 210 110 REM Bubble sort the numbers 120 LET flag = 0 130 ...
10 :REM'TELETUBE - Telescoping Aluminum Tubing - 20 JAN 94 rev. 12 NOV 97 20 IF EX$=""THEN EX$="EXIT" 30 COMMON EX$ 40 CLS:KEY OFF 50 COLOR 7,0,1 60 UL$=STRING$(80,205) 70 PI=3.1415929794311523! 80 DIM T(14,5) 90 R1=0.0625! :REM'base radius 100 FOR Z=1 TO 14 ...
Version =20 VersionRequired =20 Begin Form PopUp = NotDefault AutoCenter = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =8640 DatasheetFontHeight =11 ItemS...
10 suma=0 14 cant =1 15 producto = 1 20 if (cant<=5) then goto 25 else goto 100 25 input "ingrese el numero: ";n 30 suma = suma + n 40 producto = producto * n 50 cant = cant + 1 60 goto 20 70 end if 100 print "La suma es igual a "; suma; " y el producto es "; producto
1000 poke 53280,0: poke 53281,0 1010 print "{clear}{dark gray}"; 1020 for r = 0 to 20 1030 if r/2<>int(r/2) then ch$ = "{cm z}{cm s}" :goto 1050 1040 ch$ = "{cm s}{cm z}" 1050 for c = 1 to 20 1060 print ch$; 1070 next 1080 next
10 CLS 20 FOR LET1 = 65 TO 90 30 A$ = CHR$(LET1) 40 FOR LET2 = 65 TO 90 50 B$ = CHR$(LET2) 60 FOR LET3 = 65 TO 90 70 C$ = CHR$(LET3) 80 FOR LET4 = 65 TO 90 90 D$ = CHR$(LET4) 100 FOR LET5 = 65 TO 90 110 E$ = CHR$(LET5) 120 FOR LET6 = 65 TO 90 130 F$ = CHR$(LET6) 140 FOR LET7 = 65 TO 90 150 G$ = CHR$(LET2)...
1 %TITLE "Customer Balance Maintenance" %SBTTL "AR_MAST_CUSBAL" %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 ...
0 poke 55,255:poke 56,47:co=54272:a1=10:s=0:poke 54296,15:poke 54278,240:poke 54276,3 1 print"{clear}":poke 53281,0:poke 53280,0:v=53248:poke v+21,63:poke 2040,192:poke 2041,193 2 for i=1 to 4:poke 2041+i,194:poke v+40+i,2+i:next:poke v+39,8:poke v+40,1:poke v+29,1 3 for i=0 to 254:read q:poke 12288+i,q:next 4 p=12...
Attribute VB_Name = "Module1" Option Explicit '''START DATE - STAMP''' Sub DStamp() Set TXW = ActiveSheet On Error GoTo Oboy ActiveSheet.Activate If TXW.ProtectContents = False Then KalenderS.Show vbModeless Else MsgBox "This Add-In is functioning." _ & " Please try ag...
SCREEN 12 x = 376: DetailX% = 1: DetailY% = 1 CLS 5 StepX% = 0 StepY% = 0 Datei$ = "c:\wolverin.bmp" 10 OPEN Datei$ FOR RANDOM AS #1 LEN = 1 FIELD #1, 1 AS a$ FOR a = 66858 TO 117 STEP -1 * DetailX% GET #1, a x% = x% - 2 * DetailX% IF x% < 1 THEN x% = 375: y% = y% + 1 * DetailY% LO...
5 'Be sure to poke the correct 6 'baud value for your printer 10 CLEAR 1000 11 PRINT#-2 12 CLS(0):PRINT@0, TAB(7);"<<<SECTOR DUMP>>>" 13 PRINT@192 14 INPUT"DRIVE #";DR 15 IF DR<0 OR DR>3 GOTO12 16 INPUT "TRACK DESIRED";TRK 17 IF TRK<0 OR TRK>34 THEN GOTO 12 18 INPUT "SECTOR NEEDED";SEC 19 IF SEC<1 OR SEC>18 THEN GOTO ...
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p. 10 'Fractal Line with a Given Motif, Backtracking 20 'Name: MEANDERB 30 SCREEN 12, 0, 0, 0: CLS : pi = 3.141593 40 WINDOW (-3.2, -2.4)-(3.2, 2.4) 50 u = 4: DIM a(u), b(u): 'number elements of base line 60 'Base line, vectors in true length and...
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools =============================================================================== FILE: Virus.MSWord.Class.s2 Type: OLE ------------------------------------------------------------------------------- VBA MACRO ThisDocument.cls in file: Virus.MSWo...
REM Joshua Hipple - Project 3.10 REM Take number as input, print number, square and cube, loop until 999 CLS GOSUB TakeInput DO UNTIL InputNumber = 999 GOSUB NumberCalc GOSUB DisplayNumbers GOSUB TakeInput LOOP END REM ** FirstInput Subroutine ** REM ** Gets first input for program ** TakeInput: INP...
SETPIN 35, DIN, PULLUP SETPIN 36, DIN, PULLUP SETPIN 38, DIN, PULLUP SETPIN 40, DIN, PULLUP SETPIN 32, DIN, PULLUP DO IF PIN(35) = 0 THEN PRINT"UP" IF PIN(36) = 0 THEN PRINT"DOWN" IF PIN(38) = 0 THEN PRINT"LEFT" IF PIN(40) = 0 THEN PRINT"RIGT" IF PIN(32) = 0 THEN PRINT"FIRE" PAUSE 100 LOOP
REM File: .bas REM Data: REM Programmer: Yuriy Lomako REM Description: REM ------------------------------------------------------------------- SCREEN 9 CLS INPUT "Vvedite imya pervogo igroka "; player1$ INPUT "Vvedite imya vtorogo igroka "; player2$ x = 3 y = 3 DIM map(x, y) GOSUB 1000 FOR k = 1 TO 4 50 PRINT "...
Function max_of_string(s As String) Dim m As Integer, i As Integer m = 0 For i = 0 To Len(s) If (Val(Mid(s, i + 1, 1)) > m) Then m = Val(Mid(s, i + 1, 1)) End If Next max_of_string = m End Function Function generate_increasing_sequence(n As Integer, prefix As String) As Integer Dim i As Integer If...
100 PRINT TAB(31);"HORSERACE" 110 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 120 PRINT:PRINT:PRINT 210 DIM S(8) 220 PRINT "WELCOME TO SOUTH PORTLAND HIGH RACETRACK" 230 PRINT " ...OWNED BY LAURIE CHEVALIER" 240 PRINT "DO YOU WANT DIRECTIONS"; 250 INPUT X$ 260 IF X$="NO" THEN 320 270...
10 print chr$(147);"{control-q}{lgrn}micro compiler" 15 rem von vic cortes 20 g=0:gosub 1780: goto 590 30 rem .. erste variable 40 gosub 400: poke a,169: poke a+1,l:k=2 50 if v then poke a,173: poke a+2,h:k=3 60 a=a+k: poke a,174: poke a+1,c: poke a+2,h 70 if v=0 then poke a,162: poke a+1,h 80 a=a+k: ...
REM James/8B/10 CLS INPUT "Lama menginap (dalam hari): "; X INPUT "Harga kamar hotel per malam (dalam Rupiah): "; T IF X = 2 THEN HA = X * T HD = HA - (HA * 5 / 100) PRINT "Harga awal: Rp. "; HA PRINT "Harga diskon: Rp. "; HD ELSEIF X = 4 THEN HA = X * T HD = HA - (HA * 10 / 100) PRINT "Harga awal: Rp. "; HA PRINT ...
1 %TITLE "Job Journal Entry" %SBTTL "WP_MAST_JOBJOUR" %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 the...
Attribute VB_Name = "WavePlay" 'Option Explicit Private Declare Function mciSendCommandA Lib "WinMM" _ (ByVal wDeviceID As Long, ByVal Message As Long, _ ByVal dwParam1 As Long, dwParam2 As Any) As Long Const MCI_OPEN = &H803 Const MCI_CLOSE = &H804 Const MCI_PLAY = &H806 ...
10 int x,y,rx=3,ry=2 20 float c,s 30 /* 40 screen 0,3,1,1 50 fill(0,0,99,99,rgb(8,8,8)) 60 for i=0 to 31 70 fill(i,i,63-i,63-i,hsv(i*6,31,31)) 80 next 90 /* 100 c=cos(30*pi()/180) 110 s=sin(30*pi()/180) 120 /* 130 for y=0 to 63 140 for x=0 to 63 150 x0=ry*(rx*c*(x-32)/ry-s...
10 :REM'MOXON - Moxon Rectangle - 30 JAN 2000 rev. 24 FEB 2000 20 CLS:KEY OFF 30 IF EX$=""THEN EX$="EXIT" 40 COLOR 7,0,1 50 :REM' 60 :REM'.....title page 70 CLS 80 COLOR 15,2 90 PRINT " MOXON RECTANGLE ANTENNA"TAB(57)"by George Murphy VE3ERP "; 100 COLOR 1,0:PRINT STRING$(80,223); 110 LOCATE CSRLIN-1,26:COLOR 15,2 120 ...
REM @english REM FLOW CONTROL WITH PERIODIC CALLS (2) REM REM This example will use the ''EVERY...CALL'' keywords to change, REM at each 50 ticks, the color of the border. The color will be cycled REM from 0 to the maximum number of colors allowes (''COLOR COUNT''). REM Note that, each time the routine is called,...
_TITLE "Code Maker" SCREEN 12 DO DO codetype$ = "" DO _LIMIT 32 CLS PRINT "What type of code would you like to make?" PRINT " 0-ASCII" PRINT " 1-Hexidecimal" PRINT " 2-Binary" PRINT " 3-" PRIN...
1 CLEAR 0 3 INPUT"HIT RETURN TO START BUGRACE"$TOP 5 CLEAR 1;A=0;B=15;C=0;D=47 10 DO WAIT 20 PLOT 15,A,B;PLOT 15,C,D 30 A=A+ABSRND%2;B=B+RND%3 40 C=C+ABSRND%2;D=D+RND%3 50 IF B<1 B=1 55 IF B>30 B=30 60 IF D<33 D=33 65 IF D>62 D=62 70 WAIT 80 PLOT 13,A,B;PLOT 13,C,D 90 UNTIL (A=127) OR (C=127)...
Version =20 VersionRequired =20 PublishOption =1 Checksum =1254676651 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault OrderByOn = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3...
100 REM PHOTOMETRIC REDUCTION 110 REM 115 PRINT: PRINT 120 PRINT "INPUT OBSERVATIONS: 125 PRINT 130 INPUT "VARIABLE STAR:";V 140 INPUT "SKY NEAR VARIABLE:";S 150 INPUT "COMPARISON STAR:";C 160 INPUT "SKY NEAR C STAR:";CS 165 PRINT 170 INPUT "MAG. OF C STAR:";M 180 V=V-S: C=C-CS 190 MV=2.5*LOG(C/V)/LOG(10) ...
100 ' ON TIME$ GOSUB sample 110 ON TIME$="06:30:00" GOSUB *MORNING 120 CLS 3 130 TIME$ ON 140 LOCATE 30,10:PRINT TIME$ 150 GOTO 140 160 *MORNING 170 TIME$ OFF 180 FOR I=1 TO 10 190 BEEP:PRINT "Good morning !!" 200 FOR J=0 TO 300:NEXT J 210 NEXT I 220 END
Attribute VB_Name = "mdlBase" Option Explicit ' === Begin Windows APIs === Public Const SND_ASYNC As Long = 1 ' PlaySoundA Public Const SND_NOWAIT As Long = 8192 ' PlaySoundA Public Const SND_FILENAME As Long = 131072 ' PlaySoundA Public Const HWND_TOPMOST As Long ...
'********** FileInfo.Bas - retrieves information about a file or directory 'Copyright (c) 1987 Ethan Winer DEFINT A-Z DECLARE FUNCTION DOSError% () 'to trap possible DOS errors DEF FnP$ (X) = RIGHT$("0" + LTRIM$(STR$(X)), 2) 'adds a leading zero if needed 'The syntax example given in the owner's m...
SUB TQLI (D(), E(), N, NP, Z()) FOR I = 2 TO N E(I - 1) = E(I) NEXT I E(N) = 0! FOR L = 1 TO N ITER = 0 DO DONE% = -1 FOR M = L TO N - 1 DD = ABS(D(M)) + ABS(D(M + 1)) IF ABS(E(M)) + DD = DD THEN EXIT FOR NEXT M IF ABS(E(M)) + DD <> DD THEN M = N IF M <> L THEN ...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault CloseButton = NotDefault DividingLines = NotDefault Al...
Attribute VB_Name = "modBackup" Option Compare Database Option Explicit Private Const THIS_NAME As String = "modBackup" 'VGC 03/23/2017: CHANGES! 'Private Const fsAttrNormal As Integer = 0 ' ** Normal file. No attributes are set. Private Const fsAttrReadOnly As Integer = 1 ' ** Read-only file....
10 PRINT "Hello world" 20 LET a=10 30 LET b=15 40 PRINT a+b
Attribute VB_Name = "Similarity" #If VBA7 Then Public Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As LongPtr) 'For 64 Bit Systems #Else Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) 'For 32 Bit Systems #End If Sub GetSimilarity() Dim i, countRowNum, countColNum, curr...
10 PRINT SPACE$(40), "0" 20 FOR D = 0 TO 360 STEP 10 30 x# = TORAD(D) 40 y# = SIN(x#) 50 PRINT SPACE$(40 + CINT(y# * 40)), "*" 60 NEXT D
1 %TITLE "Product Bin Locations" %SBTTL "IC_RPRT_BIN_LL" %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 th...
Attribute VB_Name = "AddingDsn" Option Explicit '*************************************************************************************************** 'SDEBEUL 'module for adding odbc connection to windows 'uses direct acces for regedit '******************************************************************************...
$regfile="m8def.dat" $crystal = 8000000 Config PINB.0 = Output Do Set Portb.0 Reset PORTB.0 Loop End
REM 3D SINE WAVE USEGRAPHIC:A#=15:U=128:W=150:D=2:E=5:P#=25 DIM M#(U*2):FOR I=0 TO W*2:M#(I)=1000:NEXT K#=PI#*2/50:S#=SIN#(P#*PI#/180):T#=COS#(P#*PI#/180) FOR Z=-W TO W STEP E FOR X=-U TO U STEP D R#=SQRT#(FLOAT#(X*X+Z*Z)) Y#=A#*SIN#(K#*R#) Y#=-FLOAT#(Z)*S#+Y#*T#+110 IF X>-U THEN IF Y#<M#(X+U) AND...
Attribute VB_Name = "modGenerateCodingVariants" '**************************************************************************************************** Sub GenerateCodingFromProtein() '==================================================================================================== 'Generates all possible nucleotide ...
!STAR TREK !Copyright (C) 2017 Tom Zacharoff ! !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 3 of the License, or !(at your option) any later version. ! !This program is d...
'> What is the difference between SUBs and FUNCTIONS? '>......... '_|_|_| SUBTUTOR.BAS '_|_|_| A short tutorial on SUB and FUNCTION usage. '_|_|_| No warrantee or guarantee is given or implied. '_|_|_| Released PUBLIC DOMAIN by Kurt Kuzba. (10/6/96) COLOR 15, 1: CLS PRINT " This is a short tutor...
REM @english REM MULTI TASKING FOR DUMMIES (5) REM REM This example will draw, separately, the four angles of a square. REM This example has been taken from [[https://www.facebook.com/groups/28618623481/posts/10159544654308482/|this post]] by Dino Florenzi. REM REM @italian REM USARE IL MULTITASKING CON UN ESEMP...
DO CLS COLOR 7 PRINT "Нажми:" PRINT "1 - Создать файл" PRINT "2 - Открыть существующий файл" PRINT "3 - Выход" Q = VAL(INPUT$(1)) CLS SELECT CASE Q CASE 1 INPUT "Введи полный путь создаваемого файла: ", A$ OPEN A$ FOR OUTPUT AS #1 FOR i = 1 TO 10 PRINT "Введи ...
'********** ISortStr.Bas - sorts the lines in a text file using an index 'Copyright (c) 1987 Ethan Winer 'Unlike conventional sort routines, an indexed sort does not actually 're-order any of the elements in the array being sorted. Rather, a 'parallel "index" array is shuffled around such that it serves as a 'table...
REM @english REM STRING MANIPULATION WITH FLIPPING (1) REM REM This example print out an inverted (flipped) string. REM REM @italian REM MANIPOLAZIONE DI STRIGHE CON L'USO DI FLIP (1) REM REM Questo esempio stampa una stringa i cui caratteri sono stati invertiti (rovesciati) tra loro. PRINT "FLIP(ugBASIC) ...
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 Function OnEventMenuSelect(ByVal nItem As Long, ByRef pbHandle As Long) As Long Debug.Print nItem...
Attribute VB_Name = "jsonManager" Option Explicit Public Sub jsonExport(workBooksPath As String, workBooksExportPath As String) On Error Resume Next Dim myJson As Object, myJsonValue As Object '定义导出文本所需要的变量 Dim workSheetsValueText As String, dataTitle As String, workSheesValue As String, workSheesValueArr,...
Attribute VB_Name = "JMG_Module1" Sub GroupColumns() ' ' GroupColumns Macro ' Will group columns in the HDD Eval summary sheets (as of 2016-10-13) ' If Sheets("Main").Range("K5").Value <> "CO2" Then ' Summary Sheet from before May 2016 Columns("D:E").Group Columns("G:M").Group Columns("O:T"...
100 FOR I = 1 TO 5 110 PRINT "root "; I; " = "; SQR(I) 120 NEXT I 130 END
DECLARE SUB explosion (x%, y%) DECLARE SUB shoot (x1%, y1%, x2%, y2%) DECLARE SUB fight (hx%, hy%) DECLARE FUNCTION costof% (pl%, shp%) DECLARE SUB see (pl%, st%) DECLARE SUB look (pl%, sh%, Stars%) DECLARE SUB make (typ%, x%, y%, p%) DECLARE SUB slist (plyr%, l%) DECLARE SUB newdate (en%, rd%, players%, money%...
'**** Segue3.BAS - Utilities for executing a Screen Change using style 3 'Copyright 1990, Brian C. Giedt DEFINT A-Z '$INCLUDE: 'GWDecl.BAS' DECLARE SUB PreSmallBoxes (Colr%, R%, Delay%) DECLARE SUB SmallBoxes (Colr%, R%, Delay%) SUB DoSegue3 (SubType, SegueColor, Delay) STATIC IF SubType MOD 2 = 0 THEN ...
'************** HGLCONV ************* '* CREATES .HGL FILE * '* FOR GRAPHICS EXCHANGE * '* T.R.Chandrupatla and A.D.Belegundu * '************************************** DEFINT I-N: CLS : COLOR 1, 3 LOCATE 1, 1: PRINT "HGL FILE FROM CONNECTIVITY DATA"; ...
Version =20 VersionRequired =20 PublishOption =1 Checksum =-1047815778 Begin Form DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =13860 DatasheetFontHeight =11 ItemSuffix =41 ...
Version =20 VersionRequired =20 Begin Form DefaultView =0 TabularFamily =104 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =8940 DatasheetFontHeight =10 ItemSuffix =22 Right =13515 Bottom =7605 DatasheetGridlinesColor =12632256 RecSrcDt ...
1 'HAUNT.BA Barry Gaskins 2 'CLUB 100 Library - 415/939-1246 BBS, 937-5039 NEWSLETTER, 932-8856 VOICE 10 REM Converted to CPC 03/2019 by SRS cpcwiki.eu 100 CLS:PRINT"DO YOU WANT INSTRUCTIONS? (Y/N)":INPUT zz$:IF ZZ$<>"Y" OR ZZ$<>"y" THEN 120 110 GOSUB 170 120 CLEAR:GOSUB 480 130 REM 140 GOSUB 620 150 GOSUB 750 160 G...
1 'Example of LOCATE statement 10 CLS 20 FOR M = 5 TO 20 30 LOCATE M,M 40 PRINT "Location is";M;M 50 NEXT M
100 rem****************************** 110 rem* display any track $ sector * 120 rem* to screen or printer * 130 rem* * 140 rem* c64, expanded vic-20 or * 150 rem* plus/4 or c16 equipped * 160 rem* with a 1541 or 1551 disk * 170 rem* drive. * ...
1 %TITLE "Employee Accrual Maintenance" %SBTTL "PR_MAIN_EMP_ACCRUAL" %IDENT "V3.6a Calico" FUNCTION LONG PR_MAIN_EMP_ACCRUAL(CDD_WINDOW_CDD SMG_WINDOW, & LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE) ! ! COPYRIGHT (C) 1991 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This softw...
'>> Hello. I've tried making simple animation in qbasic but with no '>> success. The command i use to simulate the movements is CLS, but it '>> doesn't seem to work. Is there another way or command i can use to '>> make simple animation?? Thanks. =) '>Use GET and PUT XOR. '...And I'll bet that helped you...
10 :REM'COILTRUE - Coil Self-Capacitance - 03 JUL 2001 rev. 28 JAN 06, 30 MAY 10 20 CLS:KEY OFF:COLOR 7,0,0 30 IF EX$=""THEN EX$="EXIT" 40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$ 50 COMMON EX$,PROG$,D,L,Q,F,FQ,UH,LD,MIN,MAX,NN,I,I$,W,LL,DD,FD,WW,LW,FF,C 60 COMMON AWG,FLAG,TPI,DIA 70 PI=3.1415929794311523! 80 JJ=1/(4*PI...
Attribute VB_Name = "MOD_Messages" Option Explicit Public Enum MO [Auto Connect Response] = 100 [Wrong Revision] = 101 [Enable Encryption] = 102 [No Free Spots] = 103 [Check Admin Response] = 104 [End Session Command] = 105 [Reset Command] = 106 [Chat Message] = 1...
0REM /// DOGFIGHT /// V4 120 P.$12" dogfight"''' 130P."CONTROLS PLAYER 1 PLAYER 2"'' 140P." LEFT LOCK /"' 150P." RIGHT Z REPT"' 160P." FIRE COPY M"' 170P." THRUST CTRL ,"' 175P.'"STARS : SHIFT"''' 180P."PRESS KEY TO START" 190 LINK#FFE3 200A=#2D1F;B=#2D00;F=#2E...
100 REM INIT 110 TS = 0.023012 : REM TI TO SECONDS FOUND EMPIRICALLY WITH R31 120 LX=48: CX=80: REM LX=LINES ON CANVAS, CX=COLUMNS ON CANVAS 130 DIM MX(LX+1,CX+1), B$(LX) 140 LE=0:CE=0 :REM LE=LINES ENTERED, CE=MAX COLUMNS ENTERED 150 GN=0:PN=0 :REM GN=GENERATION NUMBER, PN=POPULATION NUMBER 160 LO=8:CO=30 :REM ORGANIS...
10 for a=40960 to 49159 20 n=peek(a) 30 if n>31 and n<91 then print chr$(n); 40 next a
Attribute VB_Name = "OPTIM_MULTVAR_RESIZE_LIBR" '// PERFECT '------------------------------------------------------------------------------ '------------------------------------------------------------------------------ Option Explicit 'Requires that all variables to be declared explicitly. Option Base 1 ...
100 REM 110 REM LOGO VERSION 3 120 REM WRITTEN 23.5.87 130 REM BY PMC 140 REM 150 DIM A%(20) 160 REM SET COLOURS AND DISPLAY TITLE SCREEN ------------------------ 170 SCREEN 1:COLOR 1,1 180 CLS 190 KEY OFF 200 LOCATE 12,6 210 PRINT "SHIELD LIFE INSURANCE COMPANY" 220 LOCATE 13,9 230 PRINT "Working for ...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault TabularCharSet =238 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =0 GridY =10 Width =10828 DatasheetFontHe...
dbMemo "SQL" ="SELECT qsub_Loc_filters.Location_ID, Year([Start_date]) AS Missing_yr\015\012FRO" "M (qsub_Site_filters INNER JOIN qsub_Loc_filters ON qsub_Site_filters.Site_ID = " "qsub_Loc_filters.Site_ID) INNER JOIN (qsub_Event_filters LEFT JOIN tbl_Habitat O" "N qsub_Event_filters.Event_ID = tbl_Habitat...
DO i = INT(5 * RND) f = 13000 + 1000 * i PRINT f DO SOUND f, 1 LOOP UNTIL INKEY$ <> "" LOOP
' this little hangman game by Jim Emptage ' Rouge Valley Software ' 1997 ' 75504.2526@compuserve.com ' feel free to modify the program .... have fun 66 RESTORE REDIM fred(200) AS STRING FOR p = 1 TO 200 READ fred(p) NEXT RANDOMIZE TIMER FOR jj = 1 TO 1000 ' shuffle the words...
1 %TITLE "Inventory Journal Report" %SBTTL "IC_RPRT_JOURNAL" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1986, 1988 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! t...
10 REM TEST THE MAXM() FUNCTION 20 MAT READ A(3,6) 30 LET B=MAXM(A) 40 PRINT "MAXIMUM IS "; B 90 DATA 10.2,5.5,1.8,22,17,-19,7 91 DATA 11.2,6.5,2.8,23,18,-20,8 92 DATA 12.2,7.5,3.8,24,19,-21,9 93 DATA 13.2,8.5,4.8,25,20,-22,10 99 END
10 open "du0:" as file 1%, mode 16384% 20 get #1%, record 1% 30 field #1%, recount as b$ 35 print "len="; len(b$) 40 print i%, cvt$%(mid(b$, i%, 2%)) for i% = 1% to 20% step 2% 50 print 60 print i%, swap%(cvt$%(mid(b$, 11%, 2%))) and (2% ^ i%) for i% = 0% to 15% 70 print rad$(swap%(cvt$%(mid(b$, 13%, 2%)))) 90 stop 10...
' VOTER.FRM Option Explicit Declare Function extfn2EAA Lib "User" Alias "SendMessage" (ByVal p1%, ByVal p2%, ByVal p3%, ByVal p4&) As Long Declare Function extfn2EE2 Lib "User" Alias "SendMessage" (ByVal p1%, ByVal p2%, ByVal p3%, ByVal p4$) As Long Sub Command3D1_Click () Dim l0022 As Variant Dim l0026 As Variant Dim...
1 '3Bル5ーIGォ]`30b_Fコタ60エセ]ep<0FW2O0vロ2007タ@00nq003リ8000 2 O=#C04:I=0:K=0:M=44 3 S=I%8:A=PEEK(O+I):A=A-(1+(A>#AA))*#30:IFSV=A>>(7-S)|C:POKE#700+K,V:K=K+1 4 C=(A&(#7F>>S))<<(S+1):I=I+1:IFK<MGOTO3
0 REM - COMPACTED:6/08/84 10 PRINT CHR$(27);CHR$(42):PRINT" -=*OHM'S LAW*=-" 40 PRINT" MENU" 50 PRINT:PRINT TAB(10);"(1) Find I, given VOLTAGE and RESISTANCE (E and R)" 70 PRINT TAB(10);"(2) Find R, given VOLTAGE and CURRENT (V and I)" 90 PRINT TAB(10);"(3) Find E, g...
10 FOR M=12 TO 12*12 STEP 12 20 PRINT M 30 NEXT M 40 END
1 %TITLE "Determine Taxable/Reportable Status" %SBTTL "PR_READ_SUBJTAX" %IDENT "V3.6a Calico" SUB PR_READ_SUBJTAX(PR_ERNDED_DEF.CH%, & SUBJECT_CODE$, & ETYPE$, & CODE$, & TAXABLE%, & REPORTABLE%) ! ! COPYRIGHT (C) 1986 BY ! Computer Management Center ! Idaho Falls, Idaho. ! ! This software is furni...
10 CLS 20 COLOR 2,0,4 30 PRINT 40 PRINT " DDDD RRRRR A GGGGGGG RRRRR A CCCCCCC EEEEEEE" 50 PRINT " D D R R A A G R R A A C E" 60 PRINT " D D RRRRR A A G RRRRR A A C E" 70 PRINT " D D R R AAAAA G GGG R ...
Attribute VB_Name = "mdlPublic" Option Explicit Private Const BASE64CHR As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" Private psBase64Chr(0 To 63) As String Public Enum DataEnum responseText = 1 responseBody = 2 End Enum '本地日志模块 Private mobjFso As New FileSystemObject '文件...
DECLARE SUB Regeln () CLS Regeln CONST ESC = 27 WHILE farbanz < 2 OR farbanz > 15 INPUT "Wie viele Farben (>1; <16)"; farbanz WEND anz = 100 WHILE anz > 20 INPUT "Wie viele Versuche (<21)"; anz WEND CLS vers = 1 farbe = 1 posi = 1 DIM raten(3) RANDOMIZE TIMER FOR i = 0 TO 3 raten(i) = INT(RND * (farba...
Version =20 VersionRequired =20 Begin Form NavigationButtons = NotDefault AllowUpdating =1 ScrollBars =2 ViewsAllowed =1 GridX =24 GridY =24 Width =16215 ItemSuffix =60 Left =360 Top =3255 Right =14670 Bottom =4965 RecSrcDt = Begin 0xf0878b346ff2e340 End ...
'venta de productos a credito DEFINT A-Z DECLARE SUB VentaCredito () DECLARE SUB Espera () DECLARE SUB Box (Row1, Col1, Row2, Col2) DECLARE SUB Box2 (Row1, Col1, Row2, Col2) DECLARE SUB Center (row, text$) DECLARE SUB FancyCls (dots%, Background%) DECLARE SUB LeeEstado () DECLARE FUNCTION MeteDatoLetra$ (fila%...
#SAMPLE----3 LAYERS, 3 ROWS, 5 COLUMNS; STEADY STATE; CONSTANT HEADS COLUMN 1 #LAYERS 1 AND 2; RECHARGE, WELLS AND DRAINS FREE UNSTRUCTURED INTERNAL 1 (5I4) 3 IBOUND layer 1 -1 1 1 1 1 -1 1 1 1 1 -1 1 1 1 1 INTERNAL 1 (5I4) 3 IBOUND layer 2 -1 1 1 ...
00 DEF FN dobro(a) = 2 * a 01 DEF FN triplo(a) = 3 * a 02 LET v = 2 * FN triplo(FN dobro(8 - 6)) 03 END
Private sub Proc_4_0_416310 00416310: push ebp 00416311: mov ebp, esp 00416313: sub esp, 0000000Ch 00416316: push 00401676h ; MSVBVM60.DLL.__vbaExceptHandler 0041631B: mov eax, fs:[00h] 00416321: push eax 00416322: mov fs:[00000000h], esp 00416329: sub esp, 000001C4h 0041632F: push ebx 0...
Attribute VB_Name = "PDxGYNInterps" ' This file is meant for cleaning up PathDx Cytology Multiple Interpretations Report (GYN Version) ' Author: Mark A. VandeHaar, SCT(ASCP) ' Option Explicit Private Sub UnmergeAll() Dim currentSheet As Worksheet For Each currentSheet In Worksheets currentSheet.Cell...
1 goto 1000 10 rem:::::::::::zap! 11 a = 256 : b = 2049 : c = 1003 12 if peek(b + 2) + a * peek(b + 3) >= c then 15 13 b = peek(b) + a * peek(b + 1) : on abs(b <> 0) goto 12 : end 14 a = 256 : b = peek(251) + a * peek(252) 15 if peek(b + 1) = 0 then end 16 print chr$(147) peek(B + 2) + a * peek(b + 3) : print "g...
REM --------------------------------------------------- REM REM FOR3.BAS REM REM USE OF THE FOR STATEMENT, THIRD EXAMPLE REM REM AUTHOR: ANDRE MURTA REM DATE: 20/12/1992 REM REM DEVELOPED AT CENTRO DE ENSINO SUPERIOR DO PARA REM REM --------------------------------------------------- DIM vet(10,10,10) FOR x=1 TO 2 FO...
10 HOME 100 PRINT CHR$ (4)"BLOAD AT28C64B.BIN,A$2000" 200 PRINT "Program the firmare in slot #" 300 INPUT SL 400 FW = 8192 + 256 * SL: REM Firmware source 500 PS = 49287 + SL * 16: REM Firmware page selection 600 EP = 49152 + SL * 256: REM EPROM location 900 HOME 1000 FOR PG = 0 TO 3 1004 PRINT ...