text
stringlengths
7
5.36M
REM Erik Moore REM tunnel SCREEN 12 CLS PRINT "how many times" INPUT how PRINT "how many (between 1 and 1600)" INPUT many RANDOMIZE TIMER FOR yet = 1 TO how rad = 0 IF many <= 800 THEN FOR times = 1 TO many CIRCLE (300, 250), rad, (INT(RND * 15) + 1) CIRCLE (0, 0), rad, (INT(RND * 15...
dbMemo "SQL" ="SELECT DISTINCT tbl_Target_Species.Park_Code AS Park, tbl_Target_Species.Target_" "Year AS TgtYear, tbl_Target_Species.Master_Plant_Code_FK, tlu_NCPN_Plants.LU_Cod" "e, tbl_Target_Species.Species_Name, tbl_Target_Species.Priority, tbl_Target_Spec" "ies.Transect_Only, tbl_Target_Species.Targe...
#COMPILE EXE #DIM ALL FUNCTION PBMAIN () AS LONG CON.CAPTION$= "Remote running" CON.COLOR 11,0 CON.LOC = 10, 20 CON.SCREEN = 30,60 CON.STDOUT "Running Remotely" SLEEP 2000 CON.STDOUT "Completed" SLEEP 1000 CON.CLS END FUNCTION
' Alt, f, x to quit ' ' Shift + F5 to play ' DECLARE FUNCTION computer$ (kleur1$, kleur2$, kleur3$, kleur4$, kleur5$, kleur6$, kleur7$, kleur8$, kleur9$) RANDOMIZE (TIMER) 10 CLS : SCREEN 12...
1 %TITLE "Bill of Material" %SBTTL "BM_RPRT_MINMAX_SUMREQ" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 2000 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 ...
Attribute VB_Name = "Error" Function LogFileName() As String TempFolder = Environ("Temp") ErrorFile = "ErrorLog-Boekhoud-v1-2_" & Format(Now(), "ddmmyy") & ".txt" LogFileNameOut = TempFolder & "\" & ErrorFile 'Debug.Print "----" & vbNewLine & "LogFileName: " & LogFileNameOut & vbNewLine & "----" LogFileName = LogFile...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault TabularCharSet =204 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =9300 Da...
3 REM IMAGESET ADDRESS $1A800 13 PRINT "POKING PALETTE" 14 REM POKE PALETTE DATA 20 POKE $9F20,0:POKE $9F21,$10:POKE $9F22,$1F 30 FOR I = 0 TO 23 40 READ A:POKE $9F23,A:NEXT I 42 REM POKE SPRITE DATA INTO TILE BASE 43 PRINT "POKING SPRITE DATA" 50 POKE $9F20,0:POKE $9F21,$A8:POKE $9F22,$11 60 FOR I = 0 TO 767 70 READ A...
1 red$ = "<font color=red>" 2 green$ = "<font color=green>" 3 black$="<font color=black>" 10 sor$="Sorry, you loose bet. Pot = " 11 win$=" Yeah! you WIN bet. Pot = " 12 blk$= " " 13 print blk$ 14 print " Fifty50 (or so) by B+ ...
#COMPILE EXE #DIM ALL #INCLUDE "AraneusAlea.inc" FUNCTION PBMAIN () AS LONG LOCAL arraySize AS DWORD LOCAL rndNbr AS BYTE LOCAL varArray AS VARIANT DIM MyArray( 0 TO 50 ) AS BYTE initiateAleaRNG() arraySize = 50 OBJECT CALL oAleaRNG.GetRandomBytes(arraySize, varArray) OBJECT CALL o...
1 REM MC-10 TREK REV 1.0 2 CLS:GOSUB880:G=16393:PL=480:GOTO10 3 K=K+(N<X2)+(N<Y2)+(N<.5)+(N<.25)+(N<.15):D=D-K:RETURN 5 FORN=1TOLEN(A$):POKEL+N,ASC(MID$(A$,N,1)):NEXT:RETURN 6 FND=SQR((I(I)-U)^2+(J(I)-V)^2):RETURN 7 FORJ=0TO1200:NEXT 8 PRINT@PL," ";:PRINT@PL,"";:RETURN 10 DIMD(5),I(7),J(7),K(7),...
10 REM 'ASND' TEST PROGRAM 11 GOTO 20 15 PROC ASND(X): RETURN ATN(@X/SQR(-@X*@X+1))*57.29578 20 PRINT "ENTER A RATIO OR SINE VALUE? "; 30 INPUT N 40 W=FN ASND(N) 50 PRINT "THE ANGLE WITH THE Y/H RATIO OF ";N;" IS ";W;" DEGREES" 99 END
'#sec:Main '' Illuminati.bas '' 11/08/2005 ''The Global Conspiracy ''by Gary Breinholt ''The Illuminati know that true power comes from the subtle application of the Rule of FIW: ''Force Intimidates Influence ''Influence Manipulates Wealth ''Wealth Bribes Force ''Each of these three factions (Force, Influence and We...
10 print chr$(147) 20 input "(0-38) x=";x 30 input "(0-24) y=";y 40 print chr$(147) 50 poke 214,y : rem address 214 holds the cursor y position 55 print 56 poke 211,x : rem address 211 holds the cursor x position 60 print "x"
10 PRINT "GREATEST COMMON DENOMINATOR" 20 PRINT 30 PRINT "(ENTER 0,0 TO END PROGRAM)" 40 PRINT "ENTER TWO NUMBERS"; 50 INPUT A,B 59 REM - END PROGRAM? 60 IF A<>0 THEN 90 70 IF B<>0 THEN 90 80 GOTO 190 89 REM - CALCULATE GCD ACCORDING TO EUCLIDEAN ALGORITHM, PRINT RESULT 90 A=ABS(A) 100 B=ABS(B) 110 R=A-B*IN...
10 BORDER VAL "7": PAPER VAL "7": INK VAL "7": BRIGHT SGN PI: POKE VAL "23624",CODE "\*": CLEAR VAL "24575" 20 POKE VAL "23739",CODE "o": LOAD "coloris sc"CODE 30 RANDOMIZE USR VAL "32768": PAUSE PI^PI 40 POKE VAL "23739",CODE "o": LOAD "coloris cd"CODE 50 RANDOMIZE USR VAL "24576" 60 RANDOMIZE USR VAL "32768"
' This script is an example of the EMDO101 energy manager ' Please visit us at www.swissembedded.com ' Copyright (c) 2011 - 2015 swissEmbedded GmbH, All rights reserved. ' This example parse yahoo weather info in json humidity = 0 sunset$ = "" sunrise$ = "" lastbuild$ ="" code = 0 serveryh$="query.yahooapis.com" start:...
s$ = "tomorrow" p$ = "" FOR i% = LEN(s$) TO 1 STEP -1 p$ = p$ + MID$(s$, i%, 1) NEXT i% PRINT p$
CLS PRINT "Hello, world!" END
10 REM BUBBLE SORT PROGRAM 20 REM RANDOMIZE 25 LET N = 99 30 DIM A(N+1) 40 FOR I=0 TO N STEP 1 #50 LET A(I)=INT(RND*1000) 50 LET A(I)=RND(N+1) 60 NEXT I 70 GOSUB 500 80 FOR I=0 TO N-1 STEP 1 90 IF A(I)<=A(I+1) THEN 120 100 PRINT "SORT FAILED" 110 GOTO 140 120 NEXT I 130 PRINT "SORT SUCCEEDED" 140 GOSUB 600 150 STOP 500...
10 DIM X(16) 20 ONBRK GOTO 330 30 WIDTH 40 40 LOADM"BSCTOOL 50 INPUT "INPUT FILENAME";I$ 60 INPUT "OUTPUT FILENAME";O$ 70 FOR I=0 TO 15 80 PRINT "COLOR IN PALETTE POSITION";I;"MOVE TO POSITION"; 90 INPUT X(I) 100 NEXT I 110 HSCREEN 2 120 EXEC:R:L:I$ 130 POKE &HFFD9,0 140 FOR I=0 TO 15 150 C(I)=PEEK(&HFFB0...
Attribute VB_Name = "ClsDX8Engine" '****************************************************************************************************************************************** 'Lorwik> Este modulo suele ser siempre un modulo clase, pero como hay ciertas variables que si o si deben de ir aqui _ y que otros sistemas qu...
REM @english REM STRING MANIPULATION USING ASC (1) REM REM This example shows how ''ASC'' function works. It converts the given REM parameter (''"0"'') into ASCII code, and print it on the screen. REM REM @italian REM MANIPOLAZIONE DI STRIGHE CON L'USO DI ASC (1) REM REM Questo esempio mostra come funziona ''A...
10 REM TEST THE MINA%() FUNCTION 20 ARR READ A%(6) 30 LET B%=MINA%(A%) 40 PRINT "MINIMUM IS "; B% 90 DATA 10%,5%,1%,22%,17%,-19%,7% 99 END
10 print 12345 20 print 6789
10 REM *** SHELL METZNER SORT *** 20 REM BY ALLAN D. EMERT 30 REM RT #4, BOX 1455, ODESSA, TX 79763 40 CLEAR '10000:DEFINT I-M:CLS 50 PRINT " *** SHELL METZNER SORT ***" 60 PRINT:PRINT "BY ALLAN D. EMERT" 70 PRINT "RT #4, BOX 1455, ODESSA, TX 79763":PRINT 80 PRINT "TO END PROGRAM ENTER ///":DIM Z$(500) 90 N=N+1:PRINT...
100 PRINT "YOU ARE ON A BATTLEFIELD WITH 4 PLATOONS AND YOU" 110 PRINT "HAVE 25 OUTPOSTS AVAILABLE WHERE THEY MAY BE PLACED." 120 PRINT "YOU CAN ONLY PLACE ONE PLATOON AT ANY ONE OUTPOST." 130 PRINT "THE COMPUTER DOES THE SAME WITH ITS FOUR PLATOONS." 135 PRINT 140 PRINT "THE OBJECT OF THE GAME IS TO FIRE MISSILES AT T...
10 PRINT TAB(33);"DIGITS" 20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 30 PRINT:PRINT:PRINT 210 PRINT "THIS IS A GAME OF GUESSING." 215 PRINT 220 PRINT "FOR INSTRUCTIONS, TYPE '1', ELSE TYPE '0'"; 230 INPUT E 240 IF E=0 THEN 360 250 PRINT 260 PRINT "PLEASE TAKE A PIECE OF PAPER AND WRITE DOWN" 270 PRIN...
REM TREK2 10 COM A$[20],B$[20],C$[20],M$[20],O$[20],P$[20] 12 COM Q$[20],R$[20],S$[20],V$[20],X$[72],Y$[72],Z$[72] 14 COM A[50],B[50],C[50],D[50],E[50],F[50],G[10],H[10],I[50],J[50] 16 COM K[50],L[50],M[10,6],N[10,4],O[10],P[10],Q[10,4],R[10,4] 18 COM S[10,8],T[10,9],U[10,6],V[10,6],W[10],X[50],Y[50],Z[10,10] 20...
1 %TITLE "Read Operation File" %SBTTL "PR_READ_SUBJOPER" %IDENT "V3.6a Calico" SUB PR_READ_SUBJOPER(STRING OPERATION, STRING EFF_DATE, & REAL PIECE_RATE, REAL HOUR_RATE) ! ! COPYRIGHT (C) 1987 BY ! Computer Management Center ! Idaho Falls, Idaho ! ! This software is furnished under a license and may be use...
10 print "---> Anfang" 20 print "A", 30 print "...", 40 print "Z" 50 print "1"; 60 print "2" 70 print "---> Ende" 80 end
CLS DIM A(6) INPUT "INTRODUCE EL PRIMER ELEMENTO DE LA TABLA:" A(1) I = 2 WHILE I <= 6 INPUT "INTRODUCE NUMERO:" NUM J = I - 1 FOR F = 1 TO J IF NUM < > A(F) THEN CONT = CONT + 1 ELSE PRINT "NUMERO REPETIDO" END IF NEXT F IF CONT = F - 1 THEN A(I) = NUM I =...
10 REM THIS PROGRAM COMPUTES THE FACTORIALS OF X 20 REM BY ITERATIVE MULTIPLICATIONS 30 PRINT "X = "; 40 INPUT X 50 LET Z = 1 60 FOR I = 1 TO X 70 LET Z = Z*I 80 NEXT I 90 PRINT "X = ";X,"X! = ";Z 100 PRINT "TYPE 1 TO CONTINUE, 0 TO STOP" 110 INPUT L 120 IF L = 1 THEN 140 130 STOP 140 PRINT 150 GOTO 30 160 END
REM Gibt's schon ewig REM läuft aber nicht auf unserer Maschine REM dafür müssen wir die alten Maschinen anschmeißen Print "Filterkaffee - 0,50€"
5 INPUT C 10 A=JOY(C):PRINTA 20 GOTO 10
10 'PROGRAM 2 for CHAPTER 1 (BOUNCING BALL) 20 'Immitates a ball bouncing on the floor and the walls 100 '================================== 110 KEY OFF : SCREEN 2 : CLS 120 DX = 6 : X = 7 : Y = 0 : A = 1 : V = 0 130 LINE ( 0 , 0 ) - ( 0 , 191 ) 140 LINE - ( 639 , 191 ) 150 LINE - ( 639 , 0) 160 PSET ( X , Y ) ...
10 REM Euler25 in GW-BASIC 20 REM Download GW-BASIC @ http://robhagemans.github.io/pcbasic/ 30 REM 1) Binet's Formula: Fib(n) = round( (Phi ^ n) / sqrt(5) ) [ Phi is the Golden Ratio ] 40 REM 2) The number of digits in any integer x is INT( LOG ( x ) ) + 1 50 REM 3) LOG( ( Phi ^ x ) / sqrt(5) ) = ( x LOG( Phi ) ) - ( L...
Attribute VB_Name = "SIFOC_Oferta" Option Explicit Option Compare Database Private strSql As String Private strselect As String Private strFrom As String Private strWhere As String Private strGroup As String Private strHaving As String Private strOrder As String '------------------------------------------------------...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault DefaultView =0 ScrollBars =0 ViewsAllowed =1 GridY =10 Width =5102 ItemSuffix =8 Left =3915 Top =450 Right =11520 Bottom =648...
10 SCREEN 12 15 RANDOMIZE TIMER 20 x = INT(640 * RND) 30 y = INT(480 * RND) 35 LINE (0, yy - 2)-(640, yy - 2), 0 d = d + 1 IF d = 50 THEN SOUND 1000, 2: d = 0 FOR za = 1 TO 1000 NEXT za 40 LINE (0, yy)-(640, yy) 50 yy = yy + 1 60 IF yy = y THEN GOTO 80 70 GOTO 35 75 LINE (xx - 2, 0)-(xx - 2, 640), 0 d =...
REM Mathias-------------------------------------------------------------------------------- SCREEN 13 CLS startTime# = TIMER DO zx = INT(320 * RND) zy = INT(200 * RND) PSET (zx, zy), zy - zx a = a + 1: LOCATE 1, 1: PRINT USING "Sterne:###,###"; a w = TIMER - startTime#: LOCATE 2, 1: PRINT USING "Zeit: ######...
5 T = 0 : CT = 0 10 READ X 20 IF X = -1 THEN 50 25 CT = CT + 1 30 T = T + X 40 GOTO 10 50 PRINT "THERE WERE ";CT;" VALUES READ" 60 PRINT "TOTAL = ";T 70 PRINT "AVERAGE =";T/CT 80 DATA 75, 80, 62, 91, 87, 93, 78, -1
'ULTIMA284.BAS is a software application that enables the user to 'program their computer to conduct high-speed game simulations 'of card games belonging to the Blackjack family of table-card games. 'This game simulation recalculates optimal playing strategy based on 'the composition of the cards remaining to be de...
10 LOADM"DEBUG" 20 INPUT A 30 IF A=0 THEN POKE &HE00,PEEK(&HE02):POKE &HE01,PEEK(&HE03) :ELSE B=INT(A/256):C=A-B*256:POKE &HE00,B:POKE &HE01,C 40 EXEC 45 A=&HE04 50 B=PEEK(A):A=A+1:IF B=0 THEN PRINT:GOTO 20 60 PRINTCHR$(B);:GOTO 50
LIST HIGHNOON 16:04 ADVANCED SYSTEMS LABS 100 REM DESIGNED AND PROGRAMMED BY CHRIS GAYLO, SYOSSET H.S...9/12/70 110PRINT" H I G H N O O N" 120PRINT" ----------------" 130PRINT 140PRINT 150PRINT "DO YOU WANT INSTRUCTIONS"; 160INPUTD$ 170 IF D$="NO" THEN 460 180PRINT 190...
Version =20 VersionRequired =20 Begin Form NavigationButtons = NotDefault DividingLines = NotDefault OrderByOn = NotDefault ScrollBars =2 GridX =20 GridY =20 Width =5782 ItemSuffix =50 Left =1020 Top =4695 Right =4155 Bottom =8655 OrderBy ="EventTypeSu...
Attribute VB_Name = "删重" Sub 标记手机号() On Error Resume Next Dim a As Integer '清除工作表规则 Cells.FormatConditions.Delete '输入1为标记男方手机号,2为女方手机号 a = InputBox("标记男方手机请输入1,女方手机请输入2") '输入1时执行 If a = 1 Then Range("h:h").FormatConditions.AddUniqueValues Range("h:h").FormatConditions(Selection.Format...
Attribute VB_Name = "Registry" ' ----------------- ' ADVAPI32 ' ----------------- ' function prototypes, constants, and type definitions ' for Windows 32-bit Registry API Option Explicit 'Constants Public Const REG_SZ = 1 Public Const REG_DWORD = 4 Public Const HKEY_CURRENT_USER = &H80000001 Public Const...
30MODE7 40PROCinit 50FORI%=0TO1 60VDU31;I%,132,157,131,141,14,23;10,64;0;0;0;:PRINTSPC9"SJ's TOOLBOX" 70NEXT 80ONERRORVDU3,26:IFERR<>17ANDERR<>0PROCerror 90REPEAT 100VDU26 110PROCblank 120VDU31;5,132,157,134:PRINT;proc$;" Processor HARDCOPY ";hard$; 130VDU31;6,132,157,134 140IFsec%=0ANDtube%=0THENPRINT"ROM";CHR$131;r...
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...
'********** GetAttr.Bas - gets a file's attributes 'Copyright (c) 1987 Ethan Winer DEFINT A-Z DECLARE FUNCTION GetAttr% (FileName$) CLS LINE INPUT "File Spec: "; F$ Attr = GetAttr%(F$) 'get the attribute PRINT IF Attr = -1 THEN PRINT "Sorry, that file doesn't exist." ELSE PRINT "Attribute = "; ...
5 PRINT "D"; "SIN(D)", "COS(D)", "SIN(D)^2 + COS(D)^2" 20 LET P = 3.1415926535897932 / 180 30 FOR X = 15 TO 90 STEP 15 40 PRINT X; FNS(X), FNC(X), FNS(X)^2 + FNC(X)^2 50 NEXT X 97 DEF FNS(D) = SIN(D * P) 98 DEF FNC(D) = COS(D * P) 99 END
REM Electric Guildsman Menuing System 2.2 REM Public Domain 1998 Jim Vassilakos DIM p(50) DIM f$(50) DIM back(50) DIM l$(25) DIM r$(25) DIM row(25) DIM colname$(16) IF COMMAND$ = "" GOTO 8 IF INSTR(COMMAND$, ".MNU") > 0 THEN flag1 = 1 IF flag1 = 0 THEN flag2 = 1 IF INSTR(COMMAND$, " ") > 0 THEN flag2 = ...
Attribute VB_Name = "Powerpoint_Module" Sub Resize() On Error GoTo 1 With ActiveWindow.Selection.ShapeRange '.Height = 900 .Width = 700 .Left = 10 .Top = 0 '.ZOrder msoSendToBack 'This sends picture to the back End With 1: End Sub
1050 PRINT"CALCULATE GAMMA(1=YES, 0=NO)"; 1055 INPUTZ 1060 IFZ<>1THEN185 1065 LETS=0 1070 FORZ=A2TOA1-1 1075 FORZ1=C2TOC1-1 1080 LETS1=0 1085 FORX=Z+1TOA1 1090 FORX1=Z1+1TOC1 1095 LETS1=S1+P(X,X1) 1100 NEXTX1 1105 NEXTX 1110 LETS=S+P(Z,Z1)*S1 1115 NEXTZ1 1120 NEXTZ 1125 LETN=0 1130 FORZ=A2TO...
' ============================================================================== ' = = ' = Author: Sylwester Wysocki <sw143@wp.pl> = ' = Created on: 1999-2000 ...
10 REM 'IF-GOTO' TEST PROGRAM 20 X=3 30 IF X=3 GOTO 60 40 PRINT "THE IF-GOTO STATEMENT FAILED THE TEST" 50 GOTO 99 60 PRINT "THE IF-GOTO STATEMENT PASSED THE TEST" 99 END
10 print "Hello" 20 print "World!":print 25 input "Enter number: ",a 30 for i = 1 to 10 40 print i,i*a 50 next i:goto 80 60 a$ = "Test!":b$ = " :-)":c$ = a$+b$ 70 print c$:print:print 80 for i = 0 to 2 step 0.04 90 print tab(int(sin(i*PI)*39)+39);"*" 100 next i
1 REM ===== OPTIONS LIBRARY ===== 2 REM 3 REM WRITTEN FOR : COMMANDER X16 4 REM TESTED ON : EMULATOR R.38 5 REM AUTHOR : DUSAN STRAKL 6 REM MORE INFO : 8BITCODING.COM 7 REM 8 REM 10 DIM OX(4,3):DIM OY(4,3):DIM OT$(4,3):DIM OS(4,3):DIM RV(4,3) 20 GOSUB 11000 30 CLS:CM=1:C=0 40 GOSUB 10000 50 IF RET=7 THEN END 6...
\****************************************************************************** \****************************************************************************** \*** \*** INCLUDE FOR RECALLS.BIN FUNCTIONS \*** \*** REFERENCE : RECALFUN.BAS \*** \*** VERSION A BRIAN GREENFIELD ...
9 REM SMALLTALK 10 DATA "I AGREE","YES","NO","SURE" 20 DATA "OK","YEAH!","IF YOU SAY SO" 30 DATA "IS THAT TRUE?","SAY THAT AGAIN" 40 DATA "HOW INTERSTING","YOU RECKON?" 50 DATA "DOES THAT WORRY YOU?","AH.... ","HUH" 60 DIM R$(14),R(14) 70 LET W=0 80 FOR I=1 TO 4 90 READ R$(I) 100 LET R(I)=0 110 NEXT I 120 CLS 130 PRINT...
1 PRINT HEX$(PEEK(&HF69C)); HEX$(PEEK(&HF69B)); 2 A$="ABCD"+"EF" 3 FOR T=0 TO 5:PRINT CHR$(PEEK(&HF168-T));:NEXT 4 A$="X"+"Y" 5 FOR T=0 TO 7:PRINT CHR$(PEEK(&HF168-T));:NEXT 6 PRINT FRE("")'Избавимся от "мусора"! 7 FOR T=0 TO 7:PRINT CHR$(PEEK(&HF168-T));:NEXT 
10 get a$:if a$="" then 10 20 print "a$="+a$ 30 get a,b:if a=0 and b=0 then 30 40 print a,b
100 CLS 101 SHELL "echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿" 102 SHELL "echo ³ °±²Û BasicCLONER.a by DvL Û²±° ³" 103 SHELL "echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ" 104 SHELL "echo." 105 SHELL "echo www.geocities.com/ratty_dvl/BATch/main.htm" 10...
'#3 mueve a movpsico.dat el renglon de compras OPEN "f:\kevinprg\kevindat\movpsico.dat" FOR RANDOM SHARED AS #3 LEN = 40 FIELD #3, 40 AS todo$: CLS maxpsi% = LOF(3) / 40 FOR k = 1 TO maxpsi% GET #3, k: LOCATE 1, 1: PRINT todo$ IF MID$(todo$, 1, 10) = " COMPRA" THEN LSET todo$ = MID$(todo$, 5, 36): PU...
DIM SHARED sentinent(5) DIM SHARED startposx(5) DIM SHARED startposy(5) DIM SHARED playerscastles(5) DIM SHARED names$(5) DIM SHARED homearmy(4, 5) DIM SHARED topscroll(1060) DIM SHARED numofcastles(5) DIM SHARED soldiers(5) DIM SHARED knights(5) DIM SHARED catapults(5) DIM SHARED gold(5) DIM SHARED land(pl...
REM @english REM FLOATING POINT SINE FUNCTION REM REM This small example will show how to use the SIN function. REM REM @italian REM NUMERI VIRGOLA MOBILE FUNZIONE SENO REM REM Questo piccolo esempio mostrerà come usare la funzione SIN. REM DEFINE FLOAT PRECISION SINGLE CLS INK WHITE RADIAN ...
1 GO TO 9000 # Main game loop. Can't put REMs here, must be absolutely super fast 5 LET a=PEEK 23560: IF a>=8 AND a<=11 THEN LET dx=(a=9)-(a=8): LET dy=(a=10)-(a=11) # ^ It's more pure to use LET a=CODE INKEY$, but the PEEK variant catches more keystrokes 10 LET nx=x+dx: LET ny=y+dy: LET nx=nx+17*(y=10)*((nx=0)...
1 %TITLE "Document a Menu" %SBTTL "TK_DOCU_SCREEN" %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 ! the inclusion ...
FUNCTION Back2BackName$ (a$) IF a$ = "Keyword Reference - Alphabetical" THEN Back2BackName$ = "Alphabetical": EXIT FUNCTION IF a$ = "Keyword Reference - By usage" THEN Back2BackName$ = "By Usage": EXIT FUNCTION IF a$ = "QB64 Help Menu" THEN Back2BackName$ = "Help": EXIT FUNCTION IF a$ = "QB64 FAQ" THEN ...
5 REM BY STEVE CLARK https://www.facebook.com/groups/CommanderX16/permalink/518653948885704/ 10 IF PEEK($D9)<>80 THEN SYS $FF5F : REM SWITCH TO 80 CHARACTER MODE 20 FOR I=1 TO 60:PRINT:NEXT 30 RI=(60-42)/2:CI=(80-66)/2 110 X=$40:FOR I= 0 TO 5:R0=RI+I:C0=CI+ I:GOSUB 220:NEXT 120 X=$E0:FOR I= 6 TO 11:R0=RI+I:C0=C...
Version =20 VersionRequired =20 Begin Form DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ViewsAllowed =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =14940 DatasheetFontHeight =11 ItemSuffix =8 Right =13515 ...
10 SCREEN 1:PRINT "Binary Object Builder 1984" 20 ' initialize basica/gw-basic mouse support 30 DEF SEG=0:MSEG=PEEK(51*4+2)+256*PEEK(51*4+3):INT33H=2+PEEK(51*4)+256*PEEK(51*4+1) 40 DEF SEG=MSEG:AX%=0:BX%=0:CX%=0:DX%=0:CALL INT33H(AX%,BX%,CX%,DX%) 50 IF AX% THEN GOTO 60:PRINT "mouse driver not found":END 60 PRINT BX% " ...
GOTO Anfang DEF FN Iteration%F(Cx!,Cy!) X!=0:Y!=0:Xq!=0:Yq!=0:T=0 FOR Iter=0 TO Su Y!=2*X!*Y!-Cy! X!=Xq!-Yq!-Cx! Xq!=X!*X!:Yq!=Y!*Y! IF Xq!+Yq!>4 THEN T=Iter+1 EXIT ENDIF NEXT Iter IF T=0 THEN RETURN Wahr=Wahr ELSE RETURN Wahr<>Wahr EN...
REM "-------------------------" REM "Multiplication table of 2" REM "24/01/2078" REM "Program by Navadita" REM "-------------------------" 'FOR n = 2 TO 20 STEP 2 'PRINT "2 * 1 ="; n 'PRINT 'NEXT n PRINT "Multiplication Table of 5 :)" PRINT n% = 5 FOR i = 1 TO 10 PRINT n%; "*"; i; "="; n% * i NEXT i
2 PRINT "I, YOUR FRIENDLY EDUSYSTEM COMPUTER, WILL DETERMINE" 3 PRINT "THE CORRECT CHANGE FOR ITEMS COSTING UP TO $100." 4 PRINT\PRINT 10 PRINT "COST OF ITEM";\INPUT A\PRINT "AMOUNT OF PAYMENT";\INPUT P 20 C=P-A\M=C\IF C<>0 THEN 90\PRINT "CORRECT AMOUNT, THANK YOU" 30 GO TO 10 90 IF C>0 THEN 120 \PRINT "SORRY, YOU HAVE...
' 3min timer calc LED version | IchigoJam BASIC 0.9.4 ' Copyright (c) 2015 Keiichi Shiga (BALLOON | FU-SEN) ' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2015 10 '3ÌßÝÀ²Ï° ÃÞÝÀ¸Ó¼Þ 20 CLS:CLT:N=3:Z=60:LED 0 30 LET[10],119,36,93,109,46 40 LET[15],107,123,37,127,111 50 LC 12,10:? CHR$(1); 60 LC 12,12:? CHR$(1...
5 rem *** siren effect *** 10 for m = 0 to 24 : poke 54272 + m,0 : next 20 m = 54272 30 poke m + 24,6 40 poke m + 5,136: poke m + 6,240 50 for x = 4 to 255 step 1 60 pokem + 1,x 70 poke m + 4,33 80 for k = 1 to 6 : next k : next x 90 for z = 255 to 6 step -1 100 poke m+1,z 110 for j = 1 to 4:next j:next z 200 c = c+1 :...
10 PRINT TAB(34);"STARS" 20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 30 PRINT:PRINT:PRINT 100 REM *** STARS - PEOPLE'S COMPUTER CENTER, MENLO PARK, CA 140 REM *** A IS LIMIT ON NUMBER, M IS NUMBER OF GUESSES 150 A=100:M=7 170 INPUT "DO YOU WANT INSTRUCTIONS";A$ 190 IF LEFT$(A$,1)="N" THEN 280 ...
10 'DEFINTA-Z:BEEP 20 OUT &HA0,8:OUT&HA1,15:OUT &HA0,1:OUT &HA1,0:OUT &HA0,0:OUT &HA1,254 30 RESTORE 240:S=S+1:IF S=1 THEN K=14 ELSE K=12 40 FOR I=1 TO K:READ S1,S0,T1 50 OUT &HA0,8:OUT &HA1,15 60 OUT &HA0,1:OUT &HA1,S1:OUT &HA0,0:OUT &HA1,S0 70 TIME=0 80 T=TIME:IF T<T1 THEN 80 90 SOUND 8,0 'OUT &HA...
10 dim a(5,5) 20 a(3,4) = 42:a(2,3)=2 30 p(2) = 3:p(4)=2 40 print a(3,4); 45 print a(p(2),4); 50 h=4:print a(p(a(p(4),int(asc("!")/11))),h); 55 h=4:print a(0+p(h-2),h); 60 h=p(2):print a(h,4)
Version =20 VersionRequired =20 Begin Form AllowFilters = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault ...
Attribute VB_Name = "modUtilities" Option Compare Database Option Explicit 'VGC 09/02/2017: CHANGES! Private Const THIS_NAME As String = "modUtilities" ' ** Public Sub ExpandCombo(Optional ctl As Variant) 100 On Error GoTo ERRH Const THIS_PROC As String = "ExpandCombo" 110 DoEvents 1...
CLS 500 ON EF%(K) GOTO 520, 540, 560, 580, 600, 620, 640 510 REM null effect 520 LET IN = 1: REM intonation is normal 530 PRINT " Normal" 540 LET IN = 2: REM intonation is stacatto 550 PRINT " Stactto" 560 LET IN = 3: REM intonation is strange 570 PRINT " Strange" 580 IF SH > 11 THEN SH = SH - 12 590 GOTO ...
CLS PRINT TAB(27); "Welcome to Matt's Program" INPUT "name"; name$ PRINT "Hello "; name$; PRINT "please select waht you would like to do. 1=palindromes 2=spanish conjugator 3=END" 30 INPUT chc IF chc = 1 THEN GOTO 10 IF chc = 2 THEN GOTO 20 IF chc = 3 THEN END PRINT "invalid selection, please choose again" GO...
0 'YAHTZEE 10 CLS 0 20 PRINT @ 141,"yahtzee"; 30 PRINT @ 301,"made"; 40 PRINT @ 306,"by"; 50 PRINT @ 331,"doug"; 60 PRINT @ 336,"dekker"; 70 PRINT @ 392,"february"; 80 PRINT @ 401,"17,"; 90 PRINT @ 405,"1985"; 100 PRINT @ 480,"are"; 110 PRINT @ 484,"you"; 120 PRINT @ 488,"ready"; 130 PRINT @ 494,"to"; 140 PRINT @ 497,"...
Version =20 VersionRequired =20 PublishOption =1 Checksum =1783210770 Begin Report LayoutForPrint = NotDefault Modal = NotDefault DividingLines = NotDefault OrderByOn = NotDefault AllowDesignChanges = NotDefault DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlin...
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...
X = INPUT() AS INTEGER DO IF X MOD 2 = 1 THEN X = X * 3 + 1 ELSE X = X \ 2 END IF WRITE X + " " LOOP UNTIL X = 4 PRINT "2 1 ..."
START: DIM PAR%(20000) DIM PBR%(20000) DIM PCR%(20000) CLS ARA=0 PS=15 PO=30 KZ=15 DIR$="UPGRADE" SCREEN 9 LINE (7, 7)-(630, 7) LINE (630, 7)-(630, 335) LINE (630, 335)-(7, 335) LINE (7, 335)-(7, 7) LINE (7, 30)-(630, 30) LOCATE 2, 2 COLOR 2 PRINT " л...
#rem Copyright (c) 2013, 2014, Gary C. Martin <gary@lightlogproject.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this ...
Operation =1 Option =0 Begin InputTables Name ="dbo_ProjectComponentStock" Name ="dbo_ProjectComponentHeader" Name ="dbo_ProjectHeader" Name ="dbo_ProjectComponentPress" Name ="dbo_ContactGeneral" End Begin OutputColumns Expression ="dbo_ProjectComponentStock.ID" Expression ="dbo_ProjectHea...
10 :REM'COAXCALC - characteristics calculator - 10 JAN 2000 20 CLS 30 IF EX$=""THEN EX$="EXIT" 40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=EX$ 50 COMMON EX$,PROG$ 60 PRINT " Many coaxial cable equations stem from the dielectric constant Σ." 70 PRINT " Most published coaxial cable tables do not show this constant." 80 PRINT " ...
'**************************************************************** '* Name : UNTITLED.BAS * '* Author : [select VIEW...EDITOR OPTIONS] * '* Notice : Copyright (c) 2012 [select VIEW...EDITOR OPTIONS] * '* : All Rights Reserved ...
1 REM This program has one sub routine (line 10 - 40) 2 REM This subroutine runs in dependency to the 3 REM var n% through 1 or 2 prints 4 REM The main prog simply go to the sub prog one time, 5 REM increments the var and go there again 8 goto 50 : REM Jumpt to main 10 print "inGoSub" 20 if n% = 0 then r...
10 PRINT "{clear}" 20 L=.:S=1024 50 gosub150:IFS<(1024+(40*L)+39-L)THENS=S+1:GOTO50 60 IF S=1531THEN20 80 gosub150:IFS<1024+(40*(24-L))THENS=S+40:GOTO80 110 gosub150:IFS>1024+(40*(24-L)+L)THENS=S-1:GOTO110 120 L=L+2 140 gosub150:IFS>1024+((40*L)+L)THENS=S-40:GOTO140 145 GOTO 50 150 pokes,128:return
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...
10 Lines=17 20 FOR I=1 TO Lines/2+1 30 FOR J=1 TO (Lines+1)/2-I+1 40 PRINT " " ; 50 NEXT 60 FOR J=1 TO I*2-1 70 PRINT "*" ; 80 NEXT 90 PRINT 100 NEXT I 110 FOR I=1 TO Lines/2 120 FOR J=1 TO I+1 130 PRINT " " ; 140 NEXT 150 FOR J=1 TO ((Lines+1)/2-I)*2-1 160 PRINT "*" ;...
1 %TITLE "Print Job Journal" %SBTTL "WP_RPRT_JOBJOUR" %IDENT "V3.6a Calico" ! ! 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 inclusion ...
Attribute VB_Name = "Modcryptinout" Public Function EnCode(a$, pas$) x = Len(a$) / Len(pas$) x = Fix(x) y = Len(a$) Mod Len(pas$) a2$ = "" pass$ = pas$ For i = 1 To x a1$ = Mid$(a$, Len(pass$) * (i - 1) + 1, Len(pass$)) For j = 1 To Len(pass$) rah$ = Chr$(Asc(Mid$(a1$, j, 1)) - 32) a2$ = a2$ + Chr$(Asc(rah$) Xor Asc(...