text
stringlengths
7
5.36M
DEFINT A-Z DECLARE SUB Espera () DECLARE SUB Detal (state%) DECLARE SUB LeeEstado () DECLARE SUB Center (row%, text$) DECLARE SUB Box (row1%, col1%, row2%, col2%) DECLARE SUB Borra () DECLARE FUNCTION MeteDatoLetra$ (fila%, columna%, largo%, caden$, tr$) DECLARE FUNCTION Escoge% (fila%, edo%, fila2%, Prod$, cas...
IF usercommand$(runcommands) = "deactivate" THEN active = 0 speechoutput$ = "standing by" status$ = "INACTIVE" speechprint$ = speechoutput$ GOSUB textprint GOSUB speechoutput usercommands = -1 END IF
1 %TITLE "Stock Value Report" %SBTTL "IC_RPRT_STOCKVALUE" %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 ! the ...
' Called by menu-main-top-level, menu-utiltiies, menu. SUB topbar LOCATE 1, 1: PRINT SPACE$(80); COLOR 11 LOCATE 1, 10: PRINT "Input your decisions now for "; force$(side); " side "; : COLOR 14: PRINT month$(month); ","; year; " " CALL flags((side), 0, 0) COLOR 4: IF bw > 0 THEN COLOR 7 LOCATE 6, 68: PRINT "Dif...
10 PRINT TAB(26);"ACEY DUCEY CARD GAME" 20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 21 PRINT 22 PRINT 23 PRINT 30 PRINT"ACEY-DUCEY IS PLAYED IN THE FOLLOWING MANNER " 40 PRINT"THE DEALER (COMPUTER) DEALS TWO CARDS FACE UP" 50 PRINT"YOU HAVE AN OPTION TO BET OR NOT BET DEPENDING" 60 PRINT"ON WHETHER OR...
Attribute VB_Name = "FINAN_ASSET_MOMENTS_WEEKLY_LIBR" Option Explicit 'Requires that all variables to be declared explicitly. Option Base 1 'The "Option Base" statement allows to specify 0 or 1 as the 'default first index of arrays. Function ASSETS_52_WEEKS_ROC_FUNC(ByRef TICKERS_R...
CLS PRINT " PERFECT PICTURE INC." PRINT "STORE #", "SALES GOAL" PRINT "_______", "__________" PRINT "LA-021", " 4525" PRINT "LA-023", " 3121" PRINT "LA-151", " 3769" PRINT "LA-221", " 2987"
\***************************************************************************** \***************************************************************************** \*** \*** SET STORE CLOSE FILE FUNCTIONS \*** \*** REFERENCE : SSCLSFUN \*** \*** VERSION A : STEVEN GOULDING ...
DIM AS STRING T INPUT "T=";T T=T+" " DIM AS INTEGER LT,I,J,P LT=LEN(T) DIM AS STRING A(LT),X X="" FOR I=1 TO LT IF MID(T,I,1)<>" " THEN X=X+MID(T,I,1) ELSE P=P+1 A(P)=X X="" DO WHILE MID(T,I+1,1)=" ":I=I+1:LOOP 'Åųý¶à¿Õ¸ñ END IF NEXT I FOR I=1 TO P-1 FOR J=I+1 T...
REM "This program showcases some of BASIC's GUI capabilities"; LET allElementsCleared = 0; GUIBEGIN "BASIC GUI TEST"; LET button1 = GUIBUTTONADD "BUTTON 1", 8, 20; LET button2 = GUIBUTTONADD "BUTTON 2", 108, 20; LET btnStatusImg = GUIIMAGEASCIIADD "-", 295, 21; GUIIMAGEDISABLE btnStatusImg; LET checkbox1...
10 print "HI TOM!" 20 goto 10
CLS : SCREEN 13 LINE (145, 85)-(175, 200), 18, BF LINE (115, 115)-(205, 140), 18, BF LINE (115, 115)-(120, 105), 18 LINE -(200, 105), 18 LINE -(205, 115), 18 LINE (144, 85)-(150, 75), 18 LINE -(170, 75), 18 LINE -(175, 85), 18 PAINT (160, 80), 17, 18 PAINT (135, 110), 17, 18 PAINT (185, 110), 17, 18 DRAW "...
REM ============================== REM SMED - A Small Line Editor REM rachel8973@gmail.com REM ============================== VERSION$="0.2.1" REM ============================== BBCWIN%=TRUE : REM Set this flag if develping in BBC Basic For Windows REM ================...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault FilterOn = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ...
Attribute VB_Name = "simple" Public Sub simple_deline(ByVal i%) Dim l% Dim n(1) As Integer l% = line_number0(Deline(i%).data(0).data0.poi(0), Deline(i%).data(0).data0.poi(1), _ n(0), n(1)) If n(0) > n(1) Then l% = Deline(i%).data(0).data0.poi(0) Deline(i%).data(0).data0.poi(0) = Deline(i%).data(0).data0.poi...
Operation =1 Option =0 Begin InputTables Name ="dbo_ProjectComponentHeader" End Begin OutputColumns Expression ="dbo_ProjectComponentHeader.ProjectHeaderID" Alias ="SumOfExtQuoteSell1" Expression ="Sum(dbo_ProjectComponentHeader.ExtQuoteSell1)" End Begin Groups Expression ="dbo_ProjectComponentHead...
10 SCREEN 6:COLOR 15,17,1:CIRCLE(255,106),100,3:PAINT STEP(0,0),2,3 20 GOTO 20 
Version =20 VersionRequired =20 Begin Form DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =9638 DatasheetFontHeight =11 ItemSuffix =32 Right =14925 Bottom =11535 Da...
DIM Answer AS INTEGER DIM Guess AS INTEGER DIM Cnt AS INTEGER DIM Game AS STRING DO CLS DO PRINT "Guess My Number Game:" PRINT PRINT "A) 10" PRINT "B) 100" PRINT "C) 1000" INPUT "Please Enter A Game: ", Game Game = UCASE$(Game) LOOP...
20 DEFINT H,I-K,M:INPUT"Число точек";H:D=RND(-TIME):M=2*H 30 DIM A(M),B(M),C(M):IF H<3 THEN RUN 20 40 FOR I=1 TO M:A(I)=INT(190*RND(1)):B(I)=A(I):C(I)=A(I):NEXT:S=0:P=900 'Генерируем три одинаковых массива координат точек плоскости случайным образом. 50 FOR I=2 TO M STEP 2 60 FOR J=2 TO M STEP 2 70 FOR K=2 TO M ST...
001 REM A COMMANDER X16 (R31) BASIC V2 PROGRAM THAT DRAWS THE MATRIX SCREEN 002 REM THINGY ON THE SCREEN BUT SINCE THIS IS WRITTEN IN BASIC IT IS SUUUUUPER 003 REM SLOW. 004 REM BY MEDIC7500 005 REM HTTPS://GITHUB.COM/MEDIC5700/MATRIX-SCREEN-COMMANDER-X16 010 IF PEEK($D9) <> 80 THEN SYS $FF5F :REM SWITCH TO 80 CHARAC...
COMMON GAMEFILE, X, Y, MX, MY, NAME$, PLANET$, ITEM$ SCREEN 13: CLS DESTROY$ = "YOU HAVE BEEN DESTROYED" OVER$ = "G A M E O V E R" LINE (0, 0)-(319, 199), 8, B LINE (2, 2)-(317, 197), 7, B FOR STARZ = 1 TO 40: RANDOMIZE TIMER: H = INT(RND * 312) + 4: V = INT(RND * 192) + 4: PSET (H, V), 15: NEXT STARZ FOR STARZ = 1...
10 print chr$(147);"floating point peek" 20 clr:v=0:pv=peek(45)+256*peek(46)+2 30 input "enter address (0 to quit)";a 40 if a=0 then end 50 if a<0 or a>65531 then print "invalid address":goto 30 60 for i=0 to 4:poke pv+i,peek(a+i):next i 70 print "address";a;"has value";v 80 goto 30
10 MEMORY 23999 20 CALL &6B78:CALL &BC02 21 on break gosub 3000 30 MODE 1:BORDER 9:|SETLIMITS,0,80,0,200:|3D,0 40 DEFINT A-Z 50 '---sounds 60 ENT 1,10,-100,3:'mosca 70 ENV 1,1,15,1,15,-1,1:'boing 80 ENT 2,20,-125,1:'boing 90 ENT 3,100,5,3:'muerte 100 '--- PRESENTACION 110 INK 0,0:PAPER 0:PEN 2:LOCATE 14,2: PRINT "FROGG...
CLS INPUT "Code", code INPUT "Name", name$ INPUT "Hour", hour INPUT "Rate", rate INPUT "Salary", salary ot = hour * rate PRINT "OT=", ot netsalary = salary + ot PRINT "Net salary=", netsalary tax = (netsalary * 10) / 100 ...
DECLARE SUB loadBar () '½ ¼ » º ¹ ¸ · ¶ µ ´ ³ ¾ ¿ À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × 'function declarations DECLARE SUB box (s$, x1, y1, x2, y2, c1, c2, c3) DECLARE SUB printer (s$, pr, sd) DECLARE FUNCTION choice () DECLARE SUB attack (n, sd) DECLARE SUB victory (sd) DECLARE SUB clr () DECLARE SUB punish ...
'' chess.bas '' '' Ajedrez '' Variables ' Posicion imaginaria de las piezas dim cPosP (15) as uByte => { _ 22, 52, _ 26, 54, _ 30, 56, _ 34, 58, _ 24, 60, _ 20, 62, _ 32, 64, _ 28, 66} ' Posición real/imaginaria de las piezas Dim posP (15) as uByte => { _ 22, 52, _ 26, 54, _ 30, 56, _ 34, 58, _...
10 DIM X(100) 20 X(7) = 42 30 PRINT X(7)
DECLARE FUNCTION FUNC! (X!) SUB ZBRAK (DUM, X1, X2, N, XB1(), XB2(), NB) NBB = NB NB = 0 X = X1 DX = (X2 - X1) / N FP = FUNC(X) FOR I = 1 TO N X = X + DX FC = FUNC(X) IF FC * FP < 0! THEN NB = NB + 1 XB1(NB) = X - DX XB2(NB) = X END IF FP = FC IF NBB = NB THEN EXIT SUB NEXT I ...
SUB Main LET a$ = "345" PRINT NOT a$ END SUB
dbMemo "SQL" ="SELECT t.ID, t.TaskType, t.Task, t.Status_ID, t.Priority_ID, t.RequestedBy_ID, t" ".RequestDate, t.CompletedBy_ID, t.CompleteDate, p.Priority, p.Icon, s.Status, s." "Icon, c1.FirstName + ' ' + c1.LastName AS Requestor, c1.ID, c2.FirstName + ' ' +" " c2.LastName AS Completor, c2.ID\015\012FRO...
1 %TITLE "GL Account Object Maintenance" %SBTTL "GL_MAIN_USERLIST" %IDENT "V3.6a Calico" FUNCTION LONG GL_MAIN_USERLIST(CDD_WINDOW_CDD SMG_WINDOW, & LONG MOPTION, & LONG MLOOP, LONG MFLAG, STRING MVALUE) ! ! COPYRIGHT (C) 1987, 1988 BY ! ! Software Solutions, Inc. ! Idaho Falls, Idaho. ! ! This software...
1 REM -- CP4HEX.BAS -- 2 REM This program reads an Intel-format hex file and checks it for validity. 3 REM It discards blank lines, and if it finds any other lines that are bad, 4 REM either bacause the format is wrong or the checksum doesn't agree, it 5 REM prompts you to type in a replacement line. Use this program ...
Attribute VB_Name = "ITA_GetActiveForms" Public Declare Function EnumChildWindows Lib "user32" (ByVal hWndParent As Long, ByVal lpEnumFunc As Long, ByVal LPARAM As Long) As Long Public Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As...
1 %TITLE "Job Status Summary Report" %SBTTL "WP_RPRT_JOBPROGRESS" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 2003 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 inclus...
10 s=54272 : poke s+24,15 20 poke s+5,0 : poke s+6,240 30 k=1 40 poke s+4,65 : poke s+3,8 50 poke s,0 : poke s+1,100 60 for t=1 to 60 : next 70 poke s+4,65 : for c=0 to 6 80 poke s+1,c*15+150 90 next c : poke s+4,0 100 for t=1 to 200 : next 110 k=k+1 : if k=2 then 70 120 for t=1 to 250 : next : goto 10
\******************************************************************************* \******************************************************************************* \*** \*** CSR WORKFILE FUNCTIONS \*** \*** REFERENCE : CSRWFFUN.BAS \*** \***************************************************...
SUB DELAY %INCLUDE "RECORDS" %INCLUDE "GLOBALS" ! TODO Get time from system for delay LET T = TIME(0) LET DT = T + (GameState::ts * 0.1) WHILE T < DT LET T = TIME(0) NEXT ! CALL PRINT_TAB(0,5, "T=" + T + "TS=" + GameState::ts) END SUB
CLS larry = 10 WHILE mo < 100 mo = mo + larry PRINT mo WEND END
'=============================================================================== ' BARIX Barionet BCL Applications (C)2010 BARIX, Written by DH '=============================================================================== ' ------------------------------------------------------------------------------ ' INIT: Versi...
FOR T = 1 TO 2000: NEXT T B = 0 CLS SCREEN 13 VIEW (0, 0)-(300, 170), 0 5 LINE (135, B - 15)-(165, B + 15), 0, BF LINE (0, 130)-(300, 130), 66 CIRCLE (150, B), 15, 4 CIRCLE (150, B), 14, 4 CIRCLE (150, B), 13, 4 CIRCLE (150, B), 12, 4 CIRCLE (150, B), 11, 4 CIRCLE (150, B), 10, 4 CIRCLE (150, B), 9, 4 C...
Operation =4 Option =0 Where ="(((tbl_Locations.UTME_public) Is Null) AND ((tbl_Coordinates.Is_best)=True) AND " "((tbl_Coordinates.UTM_east) Is Not Null) AND ((tbl_Coordinates.UTM_north) Is Not" " Null)) OR (((tbl_Locations.UTMN_public) Is Null) AND ((tbl_Coordinates.Is_best)" "=True) AND ((tbl_Coordinate...
1@=2;DIMZ(20) 10P."PRESS RETURN";LINK#FFE3;P.$12;?#E1=0 11IN."FIRST NUMERATOR"A;IN."FIRST DENOMINATOR"B 15IN."SECOND NUMERATOR"C;IN."SECOND DENOMINATOR"D 20G.2010 30P."1=ADD"'"2=MINUS"'"3=DIVIDE"'"4=MULTIPLY"' 40IN.G 50IFG=1;G.100 60IFG=2;G.200 70IFG=3;G.400 80IFG=4;G.500 100F=A+C;G=B 105IFF=G;P.$12"1"';G.10 106STRF,...
TYPE picture p AS STRING * 12 END TYPE CLS DIM pic AS picture FILES INPUT "Filename:", filename$ INPUT "Order="; order OPEN filename$ FOR RANDOM AS #3 LEN = LEN(pic) CLS PRINT order; ; "order" LOCATE 3, 1: PRINT " 123456789012" FOR i = 1 TO 12 LOCATE i + 3, 1: PRINT i LOCATE i + 3, 3: INPUT "~", p...
100 ' C H E N T R 105 ' 110 ' COMPANY PROPRIETARY, LUPFER & LONG COMPUTER SERVICES 115 ' 120 ' ENTRY6 - VERSION 1.1 125 ' 130 DIM I(132),O(132),A(15,2),T(50) 135 DIM H(72),F(16,15),N$(15),U$(30),L$(400) 140 DIM R$(15),G$(15),V$(15),Z(15),P(15) 145 DIM F$(10) 150 ' 155 DEF FNB(A,P) 160 B=INT(A/...
100 LIBRARY Gem ,"gem.lib" 101 ' Application sous GEM: Impression de fichiers ASCII 102 ' OMIKRON-BASIC LISTER.BAS 103 ' 104 CLEAR 33000' Restituer la m‚moire pour le fichier RSRC-LOAD 105 ' 106 ' Constantes dans le fichier en-tˆte de ressource: 107 ' 108 Commence%L=18 109 Fin%L=20 110 Format%L=23 111 Comm...
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 =11311 DatasheetFontHe...
100 FOR A=1 TO 5 110 FOR B=10 TO 15 120 PRINT A+B 130 NEXT 140 NEXT
SCREEN 12 COLOR 7 CLS : a$ = "" LOCATE 12, 18: PRINT " Character Generation for Star Wars 2nd Ed." DO WHILE a$ = "" a$ = INKEY$ LOOP CLS DIM skill$(80), skill(80), cargo$(30) REM ---Skills auf Dexterity---- skill$(1) = "Archaic Weapons": skill$(2) = "Blaster": skill$(3) = "Blaster Artillery" skill$(4) = "B...
5 rem Enjoy the oldschool fizzbuzz 10 c% =1 15 d1%=c%/3 : d2%=c%/5 : d3%=c%/15 20 r1%=c%-d1%*3 : r2%=c%-d2%*5 : r3%=c%-d3%*15 25 if r1% = 0 then print "fizz" 30 if r2% = 0 then print "buzz" 35 if r3% = 0 then print "fizzbuzz" 42 f% = 0 43 if r1% <> 0 then f% = f% + 1 44 if r2% <> 0 then f% = f% + 1 45 if r3% <> 0 then ...
CLS PRINT "score le Area by thitima" READ year INPUT "code="; code INPUT "name="; name$ INPUT "midterm score"; midterm INPUT "final score"; final INPUT "affective score"; affectve total = (midterm + final) + affective PRINT "code"; code PRINT "name"; name$ PRINT "year"; year ...
10 CLS GOTO 1 20 FOR t = 1 TO 10000: NEXT t 30 a = 1 35 COLOR 4 PRINT " LES AVENTURES DE TINTIN" PRINT " " PRINT " A" SOUND 50, 10 FOR t = 1 TO 20000: NEXT t SOUND 500, 10 SOUND 400, 10 SOUND 300, 10 COLOR 4 PRINT "" PRINT "" PRINT "" PRINT "" PRINT " 0 ...
10 let abc=6.1 15 let bcd=6.2 20 if bcd>abc goto 50 30 print "RUN TIME FAILURE" 40 goto 60 50 print "RUN TIME PASS" 60 end
'Perspektivischer Gang SCREEN 12 WINDOW (-320, -240)-(319, 239) q = 50 FOR z = 0 + q TO 1000 + q STEP 100 FOR a = -1 TO 1 STEP 2 FOR b = -1 TO 1 STEP 2 x = 400 * a: y = 400 * b LINE (x / z * q, y / z * q)-(x / (z + 25) * q, y / (z + 25) * q), 15 NEXT b NEXT a NEXT z
dbMemo "SQL" ="SELECT Switch(tlu_NCPN_Plants.LU_Code Is Null,\" \",tlu_NCPN_Plants.LU_Code<>\"\"" ",tlu_NCPN_Plants.LU_Code) AS Code, tlu_NCPN_Plants.Master_Species AS Species, tl" "u_NCPN_Plants.Master_PLANT_Code\015\012FROM tlu_NCPN_Plants;\015\012" dbMemo "Connect" ="" dbBoolean "ReturnsRecords" ="-1" dbInt...
CLS SCREEN 12 RANDOMIZE TIMER GOSUB title WIDTH 80, 60 DIM itemx(1, 15) AS INTEGER DIM itemy(1, 15) AS INTEGER DIM demoitemx(1, 15) AS INTEGER DIM demoitemy(1, 15) AS INTEGER DIM symbolx(1 TO 30) AS INTEGER DIM symboly(1 TO 30) AS INTEGER DIM symbolt(1 TO 30) AS INTEGER DIM symbolc(1 TO 30) AS INTEGER DIM stime(1 TO...
Attribute VB_Name = "SlicersModule" ' FORREST SOFTWARE ' Copyright (c) 2016 Mateusz Forrest Milewski ' ' Permission is hereby granted, free of charge, ' to any person obtaining a copy of this software and associated documentation files (the "Software"), ' to deal in the Software without restriction, including wit...
1 %TITLE "Function to Enter a String" %SBTTL "ENTR_3SSN" %IDENT "V3.6a Calico" FUNCTION STRING ENTR_3SSN(SCOPE_STRUCT SCOPE, & LONG XX_VDID, STRING OPT_CPOS, STRING OPT_PROMPT, & STRING OPT_XSTART, LONG OPT_FLAG, STRING OPT_XFORMAT, & STRING OPT_DEFLT) ! ! COPYRIGHT (C) 1984 BY ! Computer Management Cente...
5 print tab(26);"rotate" 8 print tab(20);"creative computing" 10 print tab(18);"morristown, new jersey":print:print:print 11 dim b(16),b$(16) 12 input "instructions";a$:print:if left$(a$,1)="n" then 140 15 print "in this game the board is laid out as follows:" 25 for i=1 to 16:b(i)=i:next 30 print:for i=1 to 13 step 4 ...
CLS alarm = 500 I = 1 FOR T = 1 TO 7000: NEXT T SCREEN 13 X = 16 VIEW (0, 0)-(300, 170), 0 1 LINE (100, 25)-(200, 100), X, BF LINE (110, 80)-(190, 95), 0, BF LINE (125, 55)-(175, 70), 0, BF LINE (140, 30)-(160, 45), 0, BF FOR T = 1 TO 800: NEXT T X = X + 1 IF X = 32 THEN L = 2 IF L = 2 THEN GOSUB 2 IF X ...
Attribute VB_Name = "modSettings" Option Explicit 'module only for settings Private Const MOD_NAME As String = "modSettings" '*** General *** 'Tab General Private bGeneral_PopUpExportWindow As Boolean Private bGeneral_ListForAllModules As Boolean Private bGeneral_HookCompiler As Boolean Private bGenera...
PRINT "hello world"
10 REM Description: this program generates random frequencies between 20 REM 0Hz - 16383Hz (TRS80's frequency ceiling), while stepping 30 REM through that range at a nice pace. 40 HZCEILING = 16383 50 FOR I=0 TO HZCEILING STEP 1 60 HZ = RND(HZCEILNG - I) * (I * 10) 70 IF HZ > HZCEILING THEN 90 80 SOUND HZ,3 90 NEXT I
DIM x AS INTEGER CLS FOR x = 0 TO 15 COLOR x PRINT "Color "; x NEXT x
10 ! & ! Program name: [21,0]PROFIX Compiled with SCALE 0 on V07.0 & ! Decompiled on 30-Jun-83 at 09:29 AM by UNBAC Version 1 20 ON ERROR GOTO 19000 50 DIM Q0$(11%), Q1$(60%), Q2$(20%) 100 ! 110 PRINT "Input file name (.BAS) "; & \ INPUT LINE F0$ & \ F0$=CVT$$(F0$,4%) & \ F0$=F0$+".BAS" IF INSTR(1%,...
10 cls 20 color 3 22 print"!!!!!!!!!!!!!" 30 input"How old are you ",a 40 input "What is your name ",n$ 50 print "Hey "+n$+" you are "+a+" age old !" 60 let e$="Hey "+n$+" Thanks "+a+" times" 70 print "_____________________________",e$ 80 color 15 90 if a>18 then print "Hey body. You old enogh for drink vodka" else pri...
3 PRINT TAB(25);"WUMPUS 2" 4 PRINT TAB(20);"CREATIVE COMPUTING" 5 PRINT TAB(18);"MORRISTOWN NEW JERSEY" 7 PRINT 10 PRINT 15 PRINT 20 REM- WUMPUS VERSION 2 30 DIM S(20,3) 40 DIM L(6),M(6),P(5) 50 PRINT "INSTRUCTIONS "; 60 INPUT I$ 70 PRINT 80 IF LEFT$(I$,1) <> "Y" THEN 130 100 GOSUB 700 110 REM- CHOOSE AND SETUP CAVE 1...
5 REM inputting the argument 10 PRINT "Factorial of:" 20 INPUT A 30 LET B = 1 35 REM beginning of the loop 40 IF A <= 1 THEN 80 50 LET B = B * A 60 LET A = A - 1 70 GOTO 40 75 REM prints the result 80 PRINT B
Operation =1 Option =1 Begin InputTables Name ="ssQryOrdersHeader" End Begin OutputColumns End dbBoolean "ReturnsRecords" ="-1" dbInteger "ODBCTimeout" ="60" dbByte "RecordsetType" ="0" dbBoolean "OrderByOn" ="0" dbByte "Orientation" ="0" dbByte "DefaultView" ="2" dbBoolean "FilterOnLoad" ="0" dbBoolean "OrderByOn...
10 rem basic benchmark 20 rem inspired by qsbb from qlay sinclair ql emulator 30 rem 40 rem copyright (c) 2019 lawrence woodman 50 rem licensed under an mit licence 100 rem array used later 110 dim ar(20) 200 rem find clock 210 ti=256*peek(2)-8 300 print "basic benchmark" 310 print "7 tests, 20 seconds ...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault TabularCharSet =204 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 PicturePages =1 DatasheetGridlinesBehavior =3 GridY =10 Width =11055...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ScrollBars =0 TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =4800 Datashee...
10 REM *** MODIFIED AND CONVERTED TO RSTS/E BY DAVID AHL, DIGITAL 90 RANDOMIZE 100 PRINT"THIS COMPUTER DEMONSTRATION SIMULATES THE" 110 PRINT"RESULTS OF FIRING A FIELD ARTILLERY WEAPON." 120 PRINT 130 PRINT"YOU ARE THE OFFICER-IN-CHARGE, GIVING ORDERS TO THE GUN" 140 PRINT"CREW, TELLING THEM THE DEGREES OF ELEVATION YO...
DECLARE SUB MMID (Y!(), DYDX!(), NVAR!, XS!, HTOT!, NSTEP!, YOUT!(), DUM!) DECLARE SUB RZEXTR (IEST!, XEST!, YEST!(), YZ!(), DY!(), NV!, NUSE!) COMMON SHARED X(), D() DATA 2,4,6,8,12,16,24,32,48,64,96 SUB BSSTEP (Y(), DYDX(), NV, X, HTRY, EPS, YSCAL(), HDID, HNEXT, DUM) IMAX = 11 NUSE = 7 ONE = 1! SHRINK = .9...
Version =20 VersionRequired =20 Begin Form AutoResize = NotDefault RecordSelectors = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault FilterOn = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ScrollBa...
Attribute VB_Name = "Registry" 'see http://support.microsoft.com/kb/145679 'also http://vbnet.mvps.org/index.html?code/reg/reguninstall.htm Option Explicit Public Const REG_SZ As Long = 1 Public Const REG_EXPAND_SZ As Long = 2 Public Const REG_DWORD As Long = 4 Private Const ERROR_MORE_DATA = 234 Public C...
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 1...
Attribute VB_Name = "Module1" Option Explicit Public D As Double, O As Double, VAS As Double, DS As Double, LA As Double Public CA As Double, SI As Double, t As Double, RS As Double, RP As Double Public W As Double, B As Double Public A As Double, L As Double, C As Double, S As Double, KS As Double Public RSP As Doubl...
1 'Motion Test -Programmed By Mark Strickland On August 22nd 2021 2 'If, for some strange reason, you might want to use this code, please feel free to do so 5 CPUSPEED 99 10 X=1:MVF=0.25:Y=2:YF=0.1 15 Y=Y+RND(16) 100 SCREEN 14:PALETTE 1 110 RECT 0,0,319,239,63,-1 120 LOAD IMAGE "TESTSPRITE2.PNG" AS SPRITE 0 122 LOAD IM...
1000 CLS:CLEAR 200,&H3FF0 1010 L=0 1020 INPUT "WHAT LEVEL";A$ 1030 N$="BLOCKS"+A$+".BIN" 1040 PRINT "LOADING ";N$ 1050 POKE &HFFA2,L:LOADM N$ 1060 FOR X=1 TO 4 1070 N$="LEVEL "+A$+".BI"+MID$(STR$(X),2,5) 1080 PRINT "LOADING ";N$ 1090 POKE &HFFA3,X+L:LOADM N$ 1100 NEXT 1110 N$="PALET "+A$+".BIN" 1120 PRINT "LOADING ";N...
1 INPUT A 2 LET B = 1 3 IF A == 0 GOTO 7 4 LET B = B * A 5 LET A = A - 1 6 GOTO 3 7 OUTPUT B 8 END
1 %TITLE "Register Compare Report" %SBTTL "PO_RPRT_REGCOMPARE" %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 i...
SCREEN 9 1 CLS PRINT "" INPUT "Red"; r INPUT "Green"; g INPUT "Blue"; b LET rr = (255 * r) / 100 LET gg = (255 * g) / 100 LET bb = (255 * b) / 100 FOR a = 0 + 1 TO 30 LINE (0, a + 120)-(30, a + 120), _RGB(rr, gg, bb) NEXT PRINT "" PRINT "Press 'a'" DO LOOP UNTIL INKEY$ = "a" GOTO 1
' [xDIALOG.BAS] ' This source document is apart of the ENhanCed Hisoft ApplicatioN toolkiT (ENCHANT) ' Developed by Matthew Bacon & Paul Jones, ½ 1997-1998 Matthew Bacon & Paul Jones ' FUNCTION ConvertAlt (ScanCode) ' Can be found in TOOLBX_C.BAS FUNCTION getobj_just(BYVAL object) STATIC dummy& dummy&=ge...
10 poke 53265,peek(53265) or 32 20 poke 53272,25:map=8192 30 for j=map to map+7999:poke j,0:next 40 for j=1024 to 2023:poke j,5:next 50 for x=0 to 319:y=sin(x*t/80)*50+100 60 ad=map+40*(y and 248) + (x and 504) + (y and 7) 70 poke ad,peek(ad) or 2^(7-(x and 7)):next 80 get r$:if r$="" then80
1 REM talker.bas 2 REM sp0256A-AL2 speech synthesizer demo 3 REM www.smbaker.com 10 CLEAR 1000 : REM reserve 1K for string space 20 DIM SP(200) : REM max length of speech 200 phonemes 30 GOSUB 30000 : REM setup phoneme table 100 print "1 - 'Scott was here'" 110 print "2 - 'RC2014'" 120 print "3 - Daisy Bell" 200 prin...
10 LET a = 2 20 LET b = 5 30 LET c = 1 40 LET d = b*b-4*a*c 50 IF d>0 THEN GOTO 100 60 IF d=0 THEN GOTO 200 70 PRINT "NO ROOTS" 80 GOTO 300 100 LET x1 = (-b + SQRT(d))/2/a 110 LET x2 = (-b - SQRT(d))/2/a 120 PRINT "x1="; 130 PRINT x1 140 PRINT "x2="; 150 PRINT x2 160 GOTO 300 200 PRINT "x="; 210 PRINT -...
10 REM ******************** 11 REM *** *** 12 REM *** REVERSER *** 13 REM *** *** 14 REM ******************** 15 REM 16 REM 20 GOSUB 1000 30 GOSUB 2000 40 GOSUB 3000 50 GOSUB 4000 60 END 1000 : 1010 REM *** INSTRUCTIONS *** 1020 : 1030 POKE 53280,6: POKE 53281,6 1040 VT$="{home}{down}{down...
Attribute VB_Name = "Mod_ChangeLog" '******************************************* 'Standelf | 16/05/2010 '******************************************* 'Comando /Editame, Solo para GameMasters, _ es medio lagoso. 'Enviamos el Nombre del item que está en el suelo. '******...
0m=87:j=.:v=36878:w=36:b=-65:g=b:n=v+1:pOn,8:t=30720:d=8098:?"{clear}{white}use ijkl space" 1p=7933:o=7745:fOi=1too/4:nE:h=81:q=.9:?"{clear}":fOi=0to21:pOo-i,102:pOd+i,102:nE 2?"{home}{down} {119}{119}{119} {red}mines {white}{white}{119}{119}{119}(fc)":ifpE(p)=wtHj=j+4:iff>0tHf=f-1 3ifrN(0)>qtHx=p-4+2*(int(rN(0)...
REM @english REM TEXTS OUTPUT WITH POSITIONING (2) REM REM This example shows the use of ''HOME'' command to reset the position of the next REM output to the upper left coordinates of the screen. REM REM @italian REM STAMPA DI TESTI CON POSIZIONAMENTO (2) REM REM Questo esempio mostra l'uso del comando ''HOME...
10 poke 54286, 30: poke 54287, 0 20 poke 54290, 129 30 print spc(peek(54299) / 7); "*" 40 goto 30
Check FBA06951 Auto 8224 1 REM +---------------------+ 2 REM + KARDIOIDY + 3 REM +---------------------+ 10 REM STALE PROGRAMU 15 LET Xsr=128 20 LET Ysr=87 25 LET DwaPi=2*PI 30 REM PARAMETRY 35 LET Rozdzielczosc=4 40 LET Promien=53 45 LET Gestosc=5 50 REM WYKRESLENIE...
10 print "Geben Sie 4 Zahlen ein" 20 for i= 1 to 4 30 print "Zahl ",i,": ", 40 input z 50 @(i)= z 60 next i 70 print "Die Zahlen waren:" 80 for i= 1 to 4 90 z= @(i) 100 print "Zahl ",i,": ",z 110 next i
5 FOR I = 1 TO 10 10 GOSUB 100 20 NEXT I 30 END 100 PRINT "HELLO WORLD from subroutine" 110 RETURN
Rem Global Definitions Rem These handle the SQL Server connection Global DBLIB_VERSION$ Global PrimaryWindowTitle$ Global SqlConn% Global ServerName$ Global LoginID$ Global Password$ Global DatabaseName$ Global SQLStatus% Global DefServer$ Global DefLogin$ Global Const LoginTimeout% = 30 Global Const QueryTimeout% = ...
rem Beispiel fuer Zahlenausgabe in rem Hex- und Binaerdarstellung print 1: input "Eine Dezimalzahl eingeben: "; a print "Binaer.....: "; gosub 100 print print "Hexadezimal: "; gosub 200 print print input "0 = neue Umrechnung; 1 = Programmende: "; a if a=0 goto 1 print "Programmende" end rem ***** Ende ***** rem *****...
Attribute VB_Name = "modStartup" Option Explicit Private Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal Reserved As Long, ByVal lpClass As String, ByVal dwOptions As Long, ByVal samDesired As Long, ByVal lpSecurityAttributes As Long, p...
Attribute VB_Name = "Stocks" Option Explicit ' ------------------------------------------------------------------------------------------------ ' REGISTA MOVIMENTO NA TABELA DE STOCKS. ' ------------------------------------------------------------------------------------------------ Public Function STK_InsereMovimen...
100 CLEAR 1000 110 _MUSIC(1,0,1,1,1,1,1,1) 120 SOUND 6,0 130 SOUND 7,&B110001 140 DEFSTR A-Z 150 A0="v13@39o3l16t120" 160 B0="v15@6o5l16t120" 170 C0="v12@14o7l16t120" 180 D0="v10@10o6l16t120" 190 F0="v10@24o4l16t120" 200 P0="v5@a15t120y22,0y24,0" 210 X0="l64t120" 220 A1="c8>c<a8>c<g8>c<a8>c<c8>c<a8>c<g8>c<e...