text
stringlengths
7
5.36M
Attribute VB_Name = "MOD_KillProcess" Private Type LUID lowpart As Long highpart As Long End Type Private Type TOKEN_PRIVILEGES PrivilegeCount As Long LuidUDT As LUID Attributes As Long End Type Const TOKEN_ADJUST_PRIVILEGES = &H20 Const TOKEN_QUERY = &H8 Const SE_PRIVILEGE_ENABLED = &...
Attribute VB_Name = "m500_CORE_ReportShts" Option Explicit Option Private Module Function InsertIndexPage(ByVal wkb As Workbook) As Worksheet Dim IndexSheet As Worksheet Dim sht As Worksheet Dim ReportSheet As ReportingSheet Dim Storage As ListStorage Dim LastCapturedReportCategory As String ...
Attribute VB_Name = "modCheckPrintFuncs" Option Compare Database Option Explicit Private Const THIS_NAME As String = "modCheckPrintFuncs" 'VGC 09/09/2017: CHANGES! ' ** cmbSortBy combo box constants: Private Const CBX_SORT_FID As Integer = 0 ' ** fld_id 'Private Const CBX_SORT_DESC As Integer = 1 ' ** f...
SCREEN 2 ' Dimensiona la finestra per il grafico: VIEW (20, 2)-(620, 172), , 1 CONST PIGRECO = 3.141592653589# ' Dimensiona le coordinate logiche della finestra per tracciare il seno ' da 0 radianti a 2ã radianti: WINDOW (0, -1.1)-(2 * PIGRECO, 1.1) Stile% = &HFF00 ' Per la linea tratteggia...
10 HIMEM#600:POKE#26A,10:PAPER0:INK7:HIRES:CLOAD"" 20 PRINT"Loading Oric Kong..."; 30 CLOAD"":CALL#600
SUB email (uemail$, upass$, remail$, id$, messageloc$, flag) crlf$ = CHR$(13) + CHR$(10) c = _OPENCLIENT("tcp/ip:25:mail.gmx.com") IF c = 0 THEN EXIT FUNCTION a$ = "EHLO localhost" + crlf$ PUT #c, , a$ a$ = "AUTH LOGIN" + crlf$ PUT #c, , a$ base64e$ = convbase64$(uemail$) + crlf$ PUT #c, , base64e$ base64p$ = convbase6...
CHDIR ".\programs\samples\pete\pongtennis" DECLARE SUB challengeMatchDay () DECLARE SUB challengeMode () DECLARE SUB matchDayMenu () DECLARE SUB calender () DECLARE SUB career () DECLARE SUB worldRankings () DECLARE SUB backWallRally () DECLARE SUB training () DECLARE SUB targetPractice () DECLARE SUB tourn...
Version =20 VersionRequired =20 PublishOption =1 LayoutForPrint = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =17108 DatasheetFontHeight =...
10 print "Start test" 20 gosub 50 30 print "line 30, i = "; i : next 40 end 50 for i = 0 to 10 60 print "i is "; i 70 if i > 5 then return 80 next i
10 print "mr speaker rulez " 20 goto 10
Attribute VB_Name = "Module1" Option Private Module Sub getData() Attribute getData.VB_ProcData.VB_Invoke_Func = " \n14" Dim dic As Object, lr&, r As Range, cf As Range With Application .ScreenUpdating = False .Calculation = xlCalculationManual End With Columns("i:m").Delete Set dic = CreateObject("sc...
Operation =1 Option =1 Where ="[QuoteDate] >= #01-Mar-16# AND [QuoteDate] <= #31-Mar-16#" Begin InputTables Name ="dbo_ViewTotalEstimateAmounts" End Begin OutputColumns End dbBoolean "ReturnsRecords" ="-1" dbInteger "ODBCTimeout" ="60" dbByte "RecordsetType" ="0" dbBoolean "OrderByOn" ="0" dbByte "Orientation" ="0...
!-------------------------------------------------- !- Saturday, May 20, 2017 1:35:39 AM !- Import of : !- c:\src\zelch128\extras\gam.sorceror.prg !- Commodore 128 BASIC 7/7.1 !-------------------------------------------------- 0 SR$="You have no sword to do it with. oh my! The sorcerer has just" 1 GB$="A gold ...
10 DEF FNR(X)=INT(X*100+.5)/100 15 PRINT " "," A"," B"," C" 20 READ A,B,C 30 IF A=0 THEN 999 40 PRINT "THE SIDES ARE",A,B,C 48 REM T IS REALLY COS(A1) 50 LET T=(B^2+C^2-A^2)/(2*B*C) 58 REM T1 IS REALL SIN(A) 60 LET T1=SQR(1-T^2) 68 REM A1 IS THE ANGLE INCLUDED BY SIDES B AND C 70 LET A1=ATN(T1/T) 78 REM CONVERT R...
10 PRINT INP(24) 20 FOR I = 1 TO 1000 30 NEXT I 40 GOTO 10 100 FOR I = 1 TO 255 110 OUT 24,I 120 FOR J = 1 TO 1000 130 NEXT J 140 NEXT I
5 EXTEND 10 !*ISAM3S--CONE81-WITH 1981 FICA RATES, FROM CONERN & ! ERNDED - CONSTRUCTION EARNINGS AND DEDUCTIONS & ! 07/6/79 - BILL LOVEGROVE FOR GENERAL SYSTEM & ! 01/?/81 - MODIFIED BY MIKE FEINAUER FOR OVARD COLLINS & ! (FOR TRANSFERING TAXES TO CHECK DATA FILE) & ! & 50 DIM M1$(24%),M$...
dbMemo "SQL" ="PARAMETERS yractive Long, activeonly Byte;\015\012SELECT w.ID, w.Code, w.Label, " "w.ActiveYear, w.RetireYear, w.DiameterRange_mm, w.Label + '('+ w.Code +')' AS ca" "tegory\015\012FROM ModWentworthScale AS w\015\012WHERE (\015\012[activeonly] = 1" "\015\012AND\015\012w.ActiveYear <= [yractiv...
Version =20 VersionRequired =20 PublishOption =1 LayoutForPrint = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault TabularFamily =0 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =7980 D...
10 SCREEN 8:FOR I=0 TO 255:COLOR,I:CLS 40 FOR J=0 TO 300:NEXT J,I 
Operation =1 Option =0 Begin InputTables Name ="tbl_OT_Census" End Begin OutputColumns Expression ="tbl_OT_Census.Census_ID" Expression ="tbl_OT_Census.Event_ID" Expression ="tbl_OT_Census.Quad" Expression ="tbl_OT_Census.Tag_No" Expression ="tbl_OT_Census.Species" Expression ="tbl_OT_Censu...
100 MODE 2:INK 0,26:INK 1,0:BORDER 26 110 LOCATE 23,10:PRINT"The Longest Automobile Race, 1908":PRINT 120 PRINT:PRINT TAB(29)"(c) David H. Ahl, 1986":PRINT TAB(25)"converted to CPC by SRS in 2017":LOCATE 21,23 150 DIM LA$(20),LB$(20),TX(20),C(20),WX(20),DX(20) 160 DIM FA$(20),FB$(20),FC$(20),FT(2,20),FL(2,20) 170 ...
Attribute VB_Name = "MATRIX_RC_ADD_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. '*************************************************************...
0 mode 1 10 for i=0 to 99 20 x=rnd(320) 30 y=(rnd(240)+time()*(40+rnd(10)))%240 40 dot x,y 50 next 60 for i=0 to 20 70 for j=0 to 2 80 for k=0 to 0.08 step 0.004 90 a = i/15+k-time()/4 100 y=137-i*8-j 110 line 64+cos(a)*4, 64+cos(a)*40, y+sin(a)*10, 5+j 120 next 130 next 140 next 150 flip 160 goto 10
1 REM BRICK BUSTER 10 POKE 53281,10:POKE53280,2:PRINT"{clear}{dark gray}":PRINTTAB(14)"brick buster":PRINTTAB(14)"************" 15 V=53248:POKE2040,192:POKE2041,193:POKEV+39,0:POKEV+40,6 20 FORI=12288TO12311:POKEI,255:NEXT 22 PRINT:PRINT:PRINTTAB(10)"'i'moves bat left" 25 FORI=12312TO12350:POKEI,0:NEXT 30 FORI=12352TO1...
REM Pyramid Adventure 1st part ML load 5 REM COPYRIGHT 1980 AARDVARK -- ILLEGAL TO COPY 10 POKE133,250:POKE134,30:POKE11,250:POKE12,30:L=7930:K=L 20 FORI=45383TO45644:X=PEEK(I):POKEL,X:L=L+1:NEXT 30 FORT1=1TO13:READX,Y:POKEX,Y:NEXT 40 DATA7964,31,7963,140,7989,31,7988,134,8014,31,8013,203,8067,31,8066 50 DATA140...
1 %TITLE "Cash Receipts Journal Report" %SBTTL "AR_RPRT_CRJ" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1988 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! the inc...
100 F$="DATA.D"+RIGHT$(DATE$,2) 110 OPEN F$ FOR OUTPUT AS #1 120 PRINT #1,DATE$;",";TIME$ 130 PRINT "·®³ É ÃÞ°À ¦ Æ­³Ø®¸ ¼Ã ¸ÀÞ»²" 140 PRINT:PRINT "ØÀ°Ý ·° ÀÞ¹ µ½Ä ¼­³Ø®³ ¼Ï½" 150 PRINT:INPUT "ËÝÒ²";NA$ 160 IF NA$="" THEN CLOSE:GOTO *INDATA 170 INPUT "¶¶¸";PRC 180 INPUT "º½³";N% 190 PRINT #1,NA$;",";PRC;",";N%...
rem ================================ rem Programm gibt Datum/Uhrzeit rem eines RTC DS1307 aus rem (Register DS1307 siehe ds1307.c) rem ================================ print "Datum..: "; a=call("get_rtc", 4) gosub 10 print "."; a=call("get_rtc", 5) gosub 10 print "."; a=call("get_rtc", 6) gosub 10 print print "Uhrzei...
'restaura registro a partir de otra base de datos DEFINT A-Z CLOSE OPEN "c:\tmp\new.dbf" FOR RANDOM SHARED AS #1 LEN = 200 FIELD #1, 200 AS linea1$ OPEN "f:\kevinprg\kevindat\new.dbf" FOR RANDOM SHARED AS #2 LEN = 200 FIELD #2, 200 AS linea2$ GET #1, 2215: RSET linea2$ = linea1$: PUT #2, 2215 CLOSE
main: forward A ; go forwards forward B ; test bumpers ; to see if hit if pinC.3 = 1 then doRight if pinC.1 = 1 then doLeft goto main doLeft: gosub goBack forward A ; turn for 0.32s backward B pause 320 goto main doRight: gosub goBack backward A ; turn for 0.32s forward B pause 3...
10 num =2 20 input "Ingrese la cantidad de numeros Fibonacci que desea mostrar: ";num 25 suma=0 26 n1=1 27 n2=1 28 print n1 29 if num=1 then goto 60 30 print n2 31 if (num = 2) then goto 60 35 for i=0 to (num -3) step 1 40 suma = (n1 + n2) 45 print suma 50 n1=n2 51 n2=suma 55 next 60 print "Serie FIBONACCI hasta el num...
Attribute VB_Name = "MainUpdateCode" Public Const error_print_data = "ErrorPrint.txt" Public Const solution_data = "SolutionOutput.txt" Public Const student_output_data = "StudentOutput.txt" Public Const advisor_schedule_data = "AdvisorScheduleOutput.txt" Public Const student_matching_sheet = "Student_Matching" Public ...
10 vic=53248:col=55296 20 print "{clear}" 30 for j=0 to 239 40 poke 1024+j*2,j:poke col+j*2,0 50 poke 1024+520+j*2,j:poke col+j*2+520,8 60 next 100 poke vic+22,peek(vic+22) or 16 200 get x$:if x$="" then 200 210 if x$="{f1}" then poke 53281,(peek(53281)+l) and 15 220 if x$="{f3}" then poke 53282,(peek(53282)+l...
Version =20 VersionRequired =20 Begin Form AllowFilters = NotDefault RecordSelectors = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault ScrollBars =0 ViewsAllowed =1 GridY =10 Width =5669 ...
CLS SCREEN 12 top: INPUT "What is the highest mark on the graph? ", m IF m <= 0 THEN CLS : GOTO top subtop: INPUT "How much is the thing you are graphing? ", t IF m <= 0 THEN CLS : GOTO subtop percent = t / m liner = 250 * percent h = 350 - liner LINE (300, 100)-(330, 350), 7, BF LINE (300, 350)-(330, h), 13, BF ...
Check 7FFECE62 Auto 8224 # Run-time Variables Var n: NumFOR = 6, 5, 1, 65534, 2 # End Run-time Variables 1 REM Random Numbers 2 REM 3 REM 4 REM 5 REM 10 PRINT RND 15 GO TO 10 16 REM 17 REM 18 REM 19 REM --------------------------------------------- 20 REM Dice throwing program 30 CLS ...
Version =20 VersionRequired =20 Begin Form AllowFilters = NotDefault RecordSelectors = NotDefault AutoCenter = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault AllowDesignChanges = NotDefault AllowUpdating =4 ScrollBars =2 PictureAlignment =2 DatasheetGridlinesB...
DECLARE FUNCTION GetColor! (n AS STRING) DECLARE FUNCTION GetParameter$ (s AS STRING) DECLARE SUB LoadLevel (n AS STRING) ON ERROR GOTO 2 CLS SCREEN 12 WINDOW (0, 0)-(640, 480) '///////////////////////////////// '// Имя файла БЕЗ расширения и пути с инструкциями WarM CONST NameOfFile$ = "Test" '// Рисуем уровень Load...
Attribute VB_Name = "OPTIM_MULTVAR_TEST_LIBR" Option Explicit 'Requires that all variables to be declared explicitly. Option Base 1 'The "Option Base" statement allows to specify 0 or 1 as the 'default first index of arrays. Private PUB_FUNC_NAME_STR As String '***************...
1 %TITLE "Kill Cycle Count Journal" %SBTTL "IC_SPEC_KILLCYCLE" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1995 BY ! ! Software Solutions ! 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...
10 REM KINETIC ART BY NEIL HARRIS 20 GRAPHICS 10 30 DIM A(3,50) 35 FOR L=0 TO 3:FOR M=0 TO 50:A(L,M)=0:NEXT M:NEXT L 40 HUE=INT(RND(1)*8+1):POKE 704+HUE,INT(RND(1)*8)*16+INT(RND(1)*4+4) 50 X1=INT(RND(1)*80):X2=INT(RND(1)*80) :Y1=INT(RND(1)*192):Y2=INT(RND(1)*192) 60 COLOR 0:PLOT A(0,WHICH),A(1,WHICH) :DRAWTO A(2,WHICH...
VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "ThisDocument" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = True Attribute VB_Name = "ToolsSpelling" Public Sub MAIN() Attribute MA...
10 CLS 15 SCREEN 1 20 PRINT " Sketch" 30 PRINT 40 PRINT "Object - to draw." 50 PRINT 60 PRINT CHR$(24);" - up":PRINT CHR$(25);" - down":PRINT CHR$(26);" - right":PRINT CHR$(27);" - left" 70 PRINT 71 PRINT "Alt and...":PRINT 75 PRINT "K - circle" 80 PRINT "C - clear":PRINT "F - fill":PRINT "B - pen on":PRINT "M ...
'###################################################### '# Musical Hopalong '# '# version 31-01-2021 '# '# - generate notes from the Hopalong fractal algorithm '# (taken from HUEPFEL.BAS by Wolfgang Stroh) '# - displays fractal in 16 colours and plays the notes '# - output via MIDI or ...
10 SCREEN 1:FOR I=1 TO 15:FOR F=1 TO 15:FOR B=1 TO 15 20 COLOR I,F,B:LOCATE 9,10:PRINT I;F;B 30 FOR K=1 TO 1000:NEXT:NEXT:NEXT:NEXT 
-- Scale.bas -- -- Demonstrates the music capability of "Basic Programming" for the Atari -- 2600. Repeatedly plays a scale of eight notes. -- -- Space characters between keywords and expressions are not required and -- have been introduced for clarity. 1 Note←0 2 Note←Note+1 3 Goto 2 -- Modified progr...
Attribute VB_Name = "MOD_AdBar" Option Explicit Type typLocalAd HTML As String ahref As String img As String End Type Type typAdHTML HTML As String Duration As Long token As String AdSize As String AdNetID As ...
20 PRINT ABS(-1.5) 20 PRINT ABS(-1) 20 PRINT ABS(0) 20 PRINT ABS(1) 20 PRINT ABS(1.5)
1 CLS:REM --- TšRK˜YE - MEHMET HARAS, N˜SAN 1991 2 MUN$="t255mbl64o1afgao4d":PI$="mbl64abceabceebceabceagaa":'fix was in 780 3 DEFINT A-Z 4 TH$="mbt190o2l8bbbl16cecl8bbp8bbbl16cl8edcc" 10 DEFSTR A,V,U,S,D,R,B:DEFINT W,I,J,X,Y,N,P,T,M:DIM P(5,10) 12 CLS:PLAY TH$:FOR I=60 TO 1 STEP -1:LOCATE 14,I:PRINT CHR$(2);" ";...
1 OUT 0x14,28: POKE 0,0x1101,25: POKE 0,0x1115,16 5 PRINT CHR$(27);"24";CHR$(19); 10 CLS 15 PRINT AT 3,10;CHR$(27);"23";CHR$(18);"* ROAD RACE *"; 17 PRINT AT 4, 7;"ARROW KEYS TO MOVE"; 20 X = 10: W = 8: SW = 32: RD = 32: SH = 219: GR = 158: P = 15: DL = 5: OL = 5: SC = 0 30 RT = SW-X-W-2: IF RT < 0 THEN RT = 0 32 PRINT...
' From: Tyler Barnes Conference: FidoQBasic (139) ' Date: 02-22-96 20:58 BBS Name: Exec-PC ' Ok, here's a star field I wrote (The kind that has layered stars ' moving sideways) and it has background music. I can't say it ' couldn'y be programmed better, but it should give you an idea...
10 REM MATRIX FUNCTION ZER 15 DIM D(2,3) 20 MAT A = ZER2(3,5) 30 MAT B = ZER2(5,3) 40 MAT C = ZER2(4) 45 MAT D = ZER2 50 PRINT "MATRIX A" 60 MAT PRINT A; 70 PRINT "MATRIX B" 80 MAT PRINT B; 90 PRINT "ARRAY C" 100 MAT PRINT C; 110 PRINT "MATRIX D" 120 MAT PRINT D; 200 OPTION BASE 1 220 MAT A = ZER2(3,5) 230 MAT B = ZER2...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault DefaultView =0 ScrollBars =0 TabularFamily =115 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =4740 DatasheetFo...
Version =20 VersionRequired =20 PublishOption =1 Modal = NotDefault RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ScrollBars =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 ...
15 DIM C$(50) 120 IF A$=" " THEN LET C$(J)=A$ 130 IF A$=" " THEN GOTO 150 140 LET C$(J)=Z$(ASC(A$)-ASC("A")+1) 160 FOR J=1 TO L-2 170 LET R$=C$(J)+C$(J+1)+C$(J+2) 180 IF R$="THE" THEN GOTO 270 190 IF R$="AND" THEN GOTO 270 200 IF R$="BUT" THEN GOTO 270 210 IF R$="GUN" THEN GOTO 270 220 NEXT J 230 NEXT K 240 PRINT "CANN...
Attribute VB_Name = "ModuleC" 'Dex3D 'A Visual Basic 3D Engine ' 'Copyright (C) 1999 by Jerry J. Chen ' 'This program is free software; you can redistribute it and/or 'modify it under the terms of the GNU General Public License 'as published by the Free Software Foundation; either version 2 'of the License, or...
OPEN "data.omg" FOR INPUT AS #1 INPUT #1, TimeTravel INPUT #1, Lives INPUT #1, BioEng INPUT #1, BioEng2 INPUT #1, BioEng3 INPUT #1, Boom INPUT #1, LowTroub INPUT #1, HighTroub INPUT #1, Idiot INPUT #1, Find INPUT #1, Erased INPUT #1, Dna$ INPUT #1, Strand$ INPUT #1, Dna1 INPUT #1, DNAo$ INPUT #1, Strando$ INPUT #1, Dna...
\***************************************************************************** \***************************************************************************** \*** \*** FILE HANDLING FUNCTIONS SOURCE CODE \*** \*** FILE TYPE: DIRECT \*** \*** REFERENCE: CCTRLFUN.BAS...
10 REM 'DIM' THREE DIMENSION ARRAY TEST PROGRAM 20 DIM A(3,4,2) 30 PRINT "THESE NUMBERS ARE STORED IN AND PRINTED" 40 PRINT "FROM A THREE DIMENSION NUMERIC ARRAY." 50 FOR K=1 TO 2 60 FOR I=1 TO 3 70 FOR J=1 TO 4 80 A(I,J,K)=I 90 NEXT J 100 NEXT I 110 NEXT K 120 FOR K=1 TO 2 130 FOR I=1 TO 3 140 FOR J=1 TO 4 150 PRINT A...
' [ENCRYPT.BAS] ' This source document is apart of the ENhanCed Hisoft ApplicatioN toolkiT (ENCHANT) ' Developed by Matthew Bacon & Paul Jones, ½ 1997-1999 Matthew Bacon & Paul Jones ' Written by Matthew Bacon, ½ 1999 Cadenza Software 'תתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתת...
Attribute VB_Name = "Module6" Public View$ Public Zoom! Public OffsetX! Public OffsetY! Public Longitude! Public Latitude! Public Radius! Public OrbitDir% Public OrbitIncre! Public MDPos As Point2D Public MDBtn% Public OrbitSns! Public DollySns! Public ZoomSns! Public Unit! Public AddElem As...
10 MEMORY 24499 20 CALL &6B78 30 MODE 0 40 LOCATE 1,1: PEN 1: PRINT "* PRINTAT vs PRINT *" 50 PLOT 1,400-32,1 : DRAW 640,400-32 60 |SETLIMITS,0,80,0,200 70 DEFINT a-z 80 iteraciones=1000 90 FOR i=0 TO 31:|SETUPSP,i,0,0:NEXT:'reset 100 puntos=1000 110 a!= TIME 120 FOR i=1 TO iteraciones 130 puntos=puntos+1 140 c$=STR$(p...
10 print chr$(147) : def fnc(z)=(x*y)*z : poke 53280,0 : poke 53281,0 20 print "carpet costing program" : print : print 30 input "how many rooms to carpet";n : print 40 print "what is the cost of carpet" 50 input "per unit area";p 60 t=0 : for c=1 to n 70 print chr$(147) 80 poke 214,4 : print : poke 211,5 : poke...
#PBFORMS CREATED V2.01 '------------------------------------------------------------------------------ ' The first line in this file is a PB/Forms metastatement. ' It should ALWAYS be the first line of the file. Other ' PB/Forms metastatements are placed at the beginning and ' end of "Named Blocks" of code that should ...
5 GOTO10010 10 DATAx[m’],0.01x[a],X[a]=0.01*x[m’],10,20 20 DATAx[m’],0.000247105x[acre],X[acre]=2.47105E-4*x[m’],10,30 30 DATAx[m’],0.000000386102x[mile’],X[mile’]=3.86102E-7*x[m’],20,40 40 DATAx[a],100x[m’],X[m’]=100*x[a],30,50 50 DATAx[a],0.0247105x[acre],X[acre]=0.0247105*x[a],40,60 60 DATAx[a],0.0000386102x[mile’],...
@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...
DECLARE SUB getxy () DECLARE FUNCTION DataIn$ (row!, col!, lim!) SCREEN 12 CALL getxy FUNCTION DataIn$ (row, col, lim) j = col LOCATE row, col: PRINT "_"; DO REM waiting for keypress DO r$ = INKEY$ LOOP UNTIL r$ <> "" REM checking if backspace IF r$ = CHR$(8) THEN IF LEN(B$) >= 1 TH...
B4J=true Group=Default Group ModulesStructureVersion=1 Type=StaticCode Version=8.5 @EndOfDesignText@ 'Static code module Sub Process_Globals Public name As String = "slidegroupsCode" Public title As String = "Slide Groups" Private vm As BANanoVM Private vue As BANanoVue Private BANano As BANano End Sub Sub Code ...
100 REM save "z8euler.bas",a 110 DT = 0.01 120 X = 1 130 V = 0 140 T = 0 160 K = 1 170 M = 1 180 A = 0.25 190 FOR I = 0 TO 1000 200 IF I MOD 50 = 0 THEN PRINT SPACE$(20+10*X);"*" 210 DX = V * DT 220 DV = ((-K*X-A*V)/M)*DT 230 X = X + DX 240 V = V + DV 250 T = T + DT ...
10 ARRAY c 20 c[1] = "darkmagenta" 30 c[2] = "darkorchid" 40 c[3] = "darkslateblue" 50 c[4] = "darkviolet" 60 c[5] = "indigo" 70 c[6] = "mediumpurple" REM start draw loop 80 a = rand(50) - 1 90 b = rand(50) - 1 REM a and b are the x and y coordinates for where it is printing the colour of c[rand(6)]: 100 PLOT a, b,...
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 =1...
1 %TITLE "Product Sales By Sales Volume" %SBTTL "SA_RPRT_SALPRODVOLUME" %IDENT "V3.5" ! ! 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 ! the ...
5 RUN 10 10 REM PRUEBE SU SUERTE 20 BORDER 3: PAPER 6: INK 0: CLS 30 POKE 23609,55: POKE 23658,8 40 GO SUB 5000 50 GO SUB 4000 60 GO SUB 3000 70 GO SUB 2000 1000 REM JUEGO 1010 LET JX=50: PRINT AT 5,26;JX 1020 INPUT "HAGA SU APUESTA: ";A 1040 LET JX=JX-A: PRINT AT 5,26;" ": PRINT AT 5,26;JX;" ": ...
01 REM TRANSFERED TO FLOPPY WITH CIDERPRESS (ACTIONS MENU, IMPORT BAS FROM TEXT OPTION) 10 DATA "/", "-", "\", "|" 15 HOME 20 FOR I = 1 TO 1000 25 FOR J = 1 TO 4 30 HTAB 20 40 VTAB 12 50 READ C$ 60 PRINT C$ 70 NEXT J 80 RESTORE 90 NEXT I 95 END
Attribute VB_Name = "modVarGdi" Option Explicit Public gdi_Main_Brush(0 To 2) As Long, _ gdi_Main_hFontNormal As Long, _ gdi_Main_hFontNormalStrike As Long, _ gdi_Main_hFontNormalStrikeItalic As Long, _ gdi_Main_hFontSel As Long, _ gdi_Main_hFontSelStrike As Long, _ gdi_Main_hFontDoubl...
1 SPRITE$(1) = "DDDDDDDD" 2 BLOAD "XBASIC.bin",R 3 DEFINT x,y 4 x=0:y=0 5 call turbo on 110 s=stick(0) 120 if s=1 THEN y=y-1 130 if s=3 THEN x=x+1 140 if s=5 THEN y=y+1 150 if s=7 THEN x=x-1 160 put sprite 0, (x,y), 1, 1 170 FOR i=0 to 100:NEXT i 400 GOTO 110
5 CLEAR 1000 6 CLS:PRINT@0," Executive Calendar - Version 01.00.00 ";:PRINT@96,"Dates";:PRINT@165,"Copyright 1983 by Tandy Corp.";:PRINT@250,"All rights reserved"; 10 KEYOFF:FORX=1TO8:KEYX,CHR$(X+247):NEXTX 20 DIMMN$(12),DY$(6),HL$(20,5),EA(19):FORX=1TO12:READMN$(X):NEXTX:FORX=0TO6:READDY$(X):NEXTX:FORX=1TO18:FORY=1TO5...
.byte $19,$36,$fb,$d4,$6a,$bf,$fe,$08 .byte $61,$62,$63,$64,$65,$66,$bf,$6b .byte $bd,$a7,$50,$5d,$42,$40,$bc,$bf .byte $00,$2e,$40,$fb,$d4,$fe,$03,$28 .byte $8a,$a4,$8b,$41,$61,$bc,$8a,$fe .byte $03,$29,$be,$d4,$fe,$0c,$6e,$65 .byte $78,$74,$20,$6c,$69,$6e,$65,$20 .byte $bf,$b4,$6a,$bc,$be,$d4,$56,$8d .byte $...
10 PRINT "HELLO!"; 15 PRINT " Twitch.tv!" 20 GOTO 10
Version =20 VersionRequired =20 Begin Form DefaultView =0 TabularFamily =103 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =19140 DatasheetFontHeight =10 ItemSuffix =41 Right =17235 Bottom =12285 DatasheetGridlinesColor =12632256 RecSrcD...
#COMPILE EXE #DIM ALL FUNCTION PBMAIN () AS LONG LOCAL x, y, flag AS BYTE LOCAL targetRow, targetCol, responseRow, responseCol AS BYTE LOCAL startPos, endPos AS LONG LOCAL temp AS STRING OPEN "C:\DOPS_Experiments\Subject_Data\9999\S9999-CE-20140425-1255.EVT" FOR INPUT AS #1 WHILE ISFALSE EOF(1...
Attribute VB_Name = "cptDataDictionary_bas" '<cpt_version>v1.4.0</cpt_version> Option Explicit Sub cptExportDataDictionary() 'objects Dim oListObject As Object 'ListObject Dim wsLookups As Object 'Worksheet Dim dFields As Scripting.Dictionary 'Object Dim oLookupTable As LookupTable Dim rstDictionary As Object 'ADODB.R...
1 %TITLE "Payroll Net Check Register by Location" %SBTTL "PR_RPRT_TRN_CHECKBYLOC_02" %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 su...
'============================================ '= PTS Control Program v013b 01-15-2000 = '= Written by K3PGP http://www.k3pgp.org = '= Can be compiled by Microsoft Quick Basic = '============================================ 'Setup Port adr '------------------------------------------------ 'Printer Port 1 is at 37...
\*********************************************************************** \*********************************************************************** \*** \*** DESCRIPTION: Local Price File \*** Public File Function Definitions \*** \*** FILE TYPE : Keyed \*** \****************************************...
10 POKE&HF418,1:DEFINTA-Z:CLEAR500:MAXFILES=2:PH$="A:":NM$="":EX$=".TXT":DV$="A:":DE$="":ED$=".ASC":DR$="TED.COM":MC=254:DIMC(255):GOSUB5000 20 CLS:CLOSE 30 PRINT" CONVERSION DE ARCHIVOS DE TED A ASCII (c) 1993 J.A.G. & R.B.Soft" 40 PRINT" -----------------------------------------------------------------" 50...
CLS RANDOMIZE TIMER n = 10 DIM x(n) FOR i = 1 TO n x(i) = INT(RND * 50) + 1: REM this generates a random number and places it in an array variable NEXT i GOSUB 1000: REM Prints out unsorted numbers FOR i = 1 TO n FOR k = i + 1 TO n IF x(i) > x(k) THEN SWAP x(i), x(k) END IF NEXT k NEXT i GOSUB 1000: REM ...
REM File: .bas REM Data: REM Programmer: Yuriy Lomako REM Description: REM ------------------------------------------------------------------- SCREEN 9 FOR i% = 1 TO 25 LOCATE i%, 40: PRINT "þ" LOCATE i%, 30: PRINT "þ" NEXT i%
DECLARE SUB Esecuzione () DECLARE SUB Colori () DECLARE SUB Assegnazione () DECLARE SUB Finestra (LargP, AltP) DECLARE SUB Center (AltP, Text$, Cl) DECLARE SUB Sinistra (AltP, Text$, Cl) DECLARE SUB Immissione (AltP, Text$, Cl) DECLARE SUB Expander (DaFile$, InFile$) REM D N A E X P A N D E R CLS SCRE...
Attribute VB_Name = "MOD_KillApp" Option Explicit '*************************************************************** 'Windows API/Global Declarations for :KillApp '*************************************************************** Const MAX_PATH& = 260 Declare Function OpenProcess Lib "Kernel32.dll" (ByVal dwD...
RANDOMIZE TIMER CLS start: INPUT "Please enter - value: ", e LINE INPUT "Please enter text: ", a$ d = LEN(a$) DIM b$(d) FOR c = 1 TO d b$(c) = MID$(a$, c, 1) NEXT c FOR c = 1 TO d PRINT b$(c), ASC(b$(c)) - e, CHR$(ASC(b$(c)) - e) NEXT c DO UNTIL INKEY$ <> "": LOOP
CLS SCREEN 12 start = TIMER CONST pi = 3.1459165358# DO FOR i = 1 TO 10000: NEXT t = (TIMER - start) x = -COS(t) * 300 y = (160000 - x ^ 2) ^ .5 CLS LINE (320, 0)-(x + 320, y) CIRCLE (x + 320, y), 10 LOCATE 1, 56: PRINT t / 2 / pi LOOP UNTIL t >= 10 * pi OR INKEY$ = CHR$(...
1 CLEAR 512,15535: GOSUB 65000: GOSUB 10000: GOSUB 11000: GOTO 4000 1000 REM *OBTEM COMANDO 1010 IF PEEK (285) = 0 THEN C = 0: RETURN 1020 T = PEEK (283): IF T = C1 THEN C = 1: RETURN 1021 IF T = C2 THEN C = 2: RETURN 1022 IF T = C3 THEN C = 3: RETURN 1023 IF T = C4 THEN C = 4: RETURN 1024 IF T = C5 THEN ...
100 REM WORDGRID 110 GOSUB 1100 120 DIM S(2) 130 DIM H(7) 140 LET T=0 150 LET X=W/2-8 160 FOR Y=1 TO 12 170 GOSUB 1700 180 PRINT"*{space*15}*" 190 NEXT Y 200 GOSUB 1700 210 PRINT"**1*2*3*4*5*6*7**" 220 LET P=1 230 GOSUB 490 240 PRINT "player ";P;" column "; 250 GOSUB 2100 260 IF H(K)=7 THEN GOTO 230 270 GOSUB 490 280 P...
1: REM ******************************************** 2: REM Replikationsniveau 3: REM von Dietmar Schrausser (c)2014 4: REM ******************************************** 10: CLS: PRINT „Replikationsniveau pa[rk]“:PR=1:N=0 20: PRINT „pa[„;N;“]->“;: INPUT „ „;P 30: PR=PR*P: IF N>0 PRINT „pa[r„...
REM ~ QB64 APP ENGINE ~ REM P1X QBASIC DIVISION 2017 REM Krzysztof Jankowski REM ========================== TYPE AppSettingsType w AS INTEGER h AS INTEGER halfw AS INTEGER halfh AS INTEGER END TYPE DIM SHARED AppSettings AS AppSettingsType AppSettings.w = 320 AppSettings.h = 240 ...
DECLARE SUB Mit (a$, z!) Menu: CLEAR : CLS : SCREEN 12 Mit "█▄ ▄█ ▀ ▀", 4 Mit "█ ▀ █ ▄▀▀▀▄ █▀▀▀▄ █ █", 5 Mit "█ █ █▀▀▀▀ █ █ █ █", 6 Mit "▀ ▀ ▀▀▀ ▀ ▀ ▀▀▀▀", 7 Mit "Farbeffekte ----------------- 1", 9 Mit "Muster ---------------------- 2", 10 Mit "Animationen ----------------...
1 REM Invert String 5 DIM Q(64) 10 INPUT $Q 20 FOR N=0 TO LEN(Q)-1 30 Q?N=Q?N | #20 40 NEXT N 50 PRINT $Q 60 RUN
100 FOR I = 1 TO 5:PRINT "root "; I; " = "; SQR(I):NEXT I 110 END
'------------------------PLAY PLAYOFF GAMES DIM TNAM$(1:34),TEAM(1:16),SC(1:30),NM$(1:16),OTF(1:15) '-----------------------------INPUT ALL TEAM NAMES 12/4/2002 CLS 'COLOR 11:LOCATE 10,20:PRINT "INPUT THE LAST GAME PLAYED 1 TO 15 "; 'INPUT GAME GAME=0 OPEN "C:\FB\NAM.FIL" FOR INPUT AS #1 FOR N=1 TO 34 INPUT...