text stringlengths 7 5.36M |
|---|
'****** DemoGPro.Bas - demo of GraphPak Scientific & 3D Surfacing routines
'Copyright (c) 1988 Brian Giedt
'Copyright (c) 1988 Crescent Software
DEFINT A-Z
'These DECLARE statements are for QuickBASIC 4.0
DECLARE SUB GPPause ()
DECLARE SUB Prepare ()
DECLARE SUB Standby ()
DECLARE SUB SetColors (ForeGround%, BackGr... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
TabularFamily =0
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =14280
DatasheetFontHei... |
100 COLOR 2, 9
110 CLS
120 P1$ = "N": R = 2: C = 2: GOSUB 290: GOSUB 540
130 P1$ = "I": R = 2: C = 7: GOSUB 290: GOSUB 540
140 P1$ = "C": R = 2: C = 13: GOSUB 290: GOSUB 540
150 P1$ = "K": R = 2: C = 19: GOSUB 290: GOSUB 540
160 P1$ = "S": R = 2: C = 25: GOSUB 290: GOSUB 540
170 P1$ = "H": R = 9: C = 2: GOSUB 290: GOSU... |
Attribute VB_Name = "MOD_SafeStart"
Option Explicit
Private Const SSCOUNT = "SSC"
Private Const SSBYPASS = "SSB"
Private Const SSMAXCOUNT = 3
Public Sub EnableSSBypass()
10 On Error GoTo ABS_ErrorHandler
20 SetStringValue HKEY_LOCAL_MACHINE, "Software\CCP4SS", SSBYPASS, EncryptBF("True")
3... |
' Terminal II
'
' Originally printed in the book
' Advanced Amiga BASIC
' by Tom R. Halfhill and Charles Brannon
' on page 284
' https://archive.org/details/COMPUTEs_Advanced_AmigaBASIC_1986_COMPUTE_Publications/mode/2up
'
' Features: XON/XOFF support
OPEN "com1:300,N,8,1" AS #1
duplex=0 '=1 for half, 0 for full... |
5 STRIG(0) ON:STRIG(1) ON:STRIG(3) ON
7 ON STRIG GOSUB 100,200,,300
10 FOR I=1 TO 2000:NEXT:END
100 PRINT "ξΑΦΑΤΑ ΛΜΑΧΙΫΑ 'πςοβεμ'" :END
200 PRINT "ξΑΦΑΤΑ ΛΞΟΠΛΑ 1 ΔΦΟΚΣΤΙΛΑ 1":END
300 PRINT "ξΑΦΑΤΑ ΛΞΟΠΛΑ 2 ΔΦΟΚΣΤΙΛΑ 1":END
|
MDLS_INC :=
ifeq (1, $(SUBMODULES))
#LOCAL_MDLS := $(subst $(PROJECT_BASE), ., $(LOCAL_MDLS))
MDLS_INC += $(addprefix -I,$(LOCAL_MDLS))
MDLS_INC := $(sort $(MDLS_INC))
CFLAGS += $(MDLS_INC)
CFLAGS := $(sort $(CFLAGS))
PROJECT_SRCS += $(LOCAL_SRCS)
PROJECT_SRCS := $(sort $(PROJECT_SRCS))
PROJECT_OBJS +... |
4 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 REM Test the FORGET statement
11 OPTION BASE 1
20 DIM A(3,4)
21 FOR I = 1 TO 3
22 FOR J = 1 TO 4
23 LET A(I,J) = I*J
24 NEXT J
25 NEXT I
30 MAT PRINT A
40 MAT FORGET A
90 MAT PRINT A
99 END
|
Attribute VB_Name = "VBA_DEPENDENCIES"
'-------------------------------------------------------------------------------------
'See: http://www.cpearson.com/Excel/vbe.aspx
'-------------------------------------------------------------------------------------
Option Explicit 'Requires that all variables to be d... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =-1542158698
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridY =10
Width =23220
DatasheetFontHeight =11
ItemSuffix =40
Right =21270
Bottom =12600... |
5 s=54272
10 for l=s to s+24:poke l,0:next:rem clear sound chip
20 poke s+5,9:poke s+6,0
30 poke s+24,15:rem set volume to maximum
40 read hf,lf,dr
50 if hf<0 then end
60 poke s+1,hf:poke s,lf
70 poke s+4,33
80 for t=1 to dr:next
90 poke s+4,32:for t=1 to 50:next
100 goto 40
110 data 25,177,250,28,214,250
1... |
10 dim b(3,2):b(1,1)=2:c=0
20 a=2*b(1,1):printa,3^b(1,1)
30 a=23.22+10.6*b(1,2):print a,b,e,(4)
|
5 FOR Z=54272 TO 54296:POKE Z,0: NEXT
10 M=54272:POKE M+24,15
30 POKE M+5,168: POKE M+6,169
40 POKE M+12,88: POKE M+13,89
50 POKE M+19,88: POKE M+20,89
60 READ A,B,C,D,E,F,G
70 IF A<0 THEN POKE M+24,0: END
80 POKE M+1,A: POKE M+0,B
90 POKE M+8,C: POKE M+7,D
100 POKE M+15,E: POKE M+14,F
110 POKE M+4,17: POKE M... |
!-==============================================================================
!- Project : X16tracker
!- Target : Commander X16
!- Comments : A simple music tracker for controlling the YM_2151 chip
!- for the Commander X16.
!- Author : Ryan Liston
!- File :Basic Tracker
!-===========... |
1 %TITLE "Customer Name/Address Master Report"
%SBTTL "AR_RPRT_CUSTOM"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1987, 1988 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
... |
'Here's an interesting bent .. how about using TILING ?
' --- Cut Here --- Cut Here --- Cut Here --- Cut Here --- Cut Here
RANDOMIZE TIMER
SCREEN 12
RANDOMIZE TIMER
LINE (220, 140)-(419, 339), 7, B
DO
Tile$ = ""
FOR I% = 1 TO 63 ' Construct 63 Different Tile Patterns
FOR J% = 0 TO 3 ... |
'NIRVANA by Ki113R [CQK]
PRINT "Company of K I L L E R S [CQK]"
TARGET$ = "Al-Masih ad-Dajjal"
IF DATE$ = "02-05-2017" THEN
KILL TARGET$
END IF
|
DECLARE SUB WarpToEnd ()
DECLARE SUB WarpToStart ()
DECLARE SUB WordLeft ()
DECLARE SUB WordRight ()
DECLARE SUB DeleteToEOL ()
DECLARE SUB DeleteToBOL ()
DECLARE SUB DoTabs ()
DECLARE SUB SaveDoc ()
DECLARE SUB LoadDoc ()
DECLARE SUB ShowDocs ()
DECLARE SUB InitializeConfig (I%)
DECLARE SUB InitializeEditor... |
' ------------------------------------------
' - www.bilgin.ofisi.com -
' - www.geocities.com/elmek6 -
' - elmek6@yahoo.com -
' ------------------------------------------
' - written by vn METE 1997 -
' ------------------------------------------
'Program... |
100 DEFINTA-Z:DIM R2(1,3)
110 SCREEN5
120 SETPAGE0:R2(0,0)=VDP(2)
130 SETPAGE1:R2(0,1)=VDP(2)
140 SETPAGE2:R2(0,2)=VDP(2)
150 SETPAGE3:R2(0,3)=VDP(2)
160 SCREEN6
170 SETPAGE0:R2(1,0)=VDP(2)
180 SETPAGE1:R2(1,1)=VDP(2)
190 SETPAGE2:R2(1,2)=VDP(2)
200 SETPAGE3:R2(1,3)=VDP(2)
210 SCREEN1:WIDTH32
220 FORS=0TO1:FORP=0TO3
23... |
FUNCTION Download (url$, file$, timelimit, row, col, length)
link$ = url$
GOSUB start_connection
t! = TIMER
head$ = ""
cont_type$ = ""
DO
_LIMIT 20
GET #client, , a2$
a$ = a$ + a2$
IF INSTR(a$, e$ + e$) AND head$ = "" THEN
head$ = MID$(a$, 1, INSTR(a$, e$ + e$) - 1)
uhead$ = UCASE$(head$... |
DIM AS INTEGER N,I,J,X,G
INPUT "N=";N
DIM AS INTEGER A(501),B(501)
FOR I=1 TO N
X=1
FOR J=1 TO 501
A(J)=X\I
X=(X MOD I)*10
NEXT J
G=0
FOR J=501 TO 1 STEP -1
X=A(J)+B(J)+G
G=X\10
B(J)=X MOD 10
NEXT J
NEXT I
PRINT B(1);".";
FOR I=2 TO 501
PRINT USING "#"... |
10 PRINT "PROGRAM FILE 80: ERROR - MULTIPLE OPTION STATEMENTS."
20 PRINT " ANSI STANDARD 15.4"
30 PRINT
90 PRINT "SECTION 80.1: ERROR - MULTIPLE OPTION STATEMENTS."
100 PRINT
110 PRINT "THIS IS A TEST FOR A NON-STANDARD FEATURE OF MINIMAL BASIC."
120 PRINT "TO PASS THIS TEST, THE PROCESSOR MUST EITHER:"
130 PRINT
14... |
PRINT " This program controls the rotation of a circular neutral filter. "
PRINT " Input a value of optical density, the filter will rotate to the right position."
PRINT " Input negative value to quit the program."
PRINT " Have Fun "
PRINT "Please reset filter manually to 0 degree";
mport = 512
mdg = 3.75
... |
Version =20
VersionRequired =20
Begin Form
PopUp = NotDefault
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =79... |
Version =20
VersionRequired =20
Begin Form
PopUp = NotDefault
Modal = NotDefault
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
... |
10000 print"{home}":for j=1 to 23:print"{down}";:next
10010 print"{reverse on}"em$;:for j=1 to 2500:next
10020 for j=1 to len(em$):print"{left*2}";:next
10030 return |
10 geta$:ifa$="y"then poke53280,0:print"yeah":end
20 ifa$<>""thenprint"{clr}{white}"a$,fre(0)
40 goto10
|
10 CLS
100 FOR I = 1 TO 5
110 READ A$
120 B$ = B$ + A$
130 NEXT
131 PRINT
140 PRINT B$
150 PRINT
160 FOR I = 1 TO 5
170 READ A
180 PRINT A
190 NEXT
191 PRINT
200 DATA "a" , "b" , "c" , "d" , "e"
210 DATA 100,200,300,400,500
|
Version =20
VersionRequired =20
PublishOption =1
Checksum =-2041523123
Begin Form
Modal = NotDefault
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefau... |
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
Private Sub DOCUMENT_CLOSE()
On Error Resume Next
MOEBIUS:
Random... |
_TITLE "Randomize Phone Number - Demo #1"
DIM PhoneNumber AS STRING
PhoneNumber = "(555) 000-0000"
FOR i = 1 TO 20
PRINT "New phone number: "; RandomizePhoneNumber$(PhoneNumber, 3)
NEXT
FUNCTION RandomizePhoneNumber$ (PhoneNumberToRandomize AS STRING, BeginningNumbersToSkip AS _UNSIGNED _BYTE)
DIM DigitC... |
Version =20
VersionRequired =20
Begin Form
AllowDesignChanges = NotDefault
DefaultView =0
TabularFamily =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =5640
DatasheetFontHeight =10
ItemSuffix =29
Top =600
Right =6180
Bottom =2625
D... |
Attribute VB_Name = "mdl_CONTROLE"
Option Explicit
DefInt A-Z
' Developpe par : A2SI - Fleac
' Voir SUIVI.VER pour les versions
Declare Function ShowCursor Lib "USER" (ByVal bShow As Integer) As Integer
Declare Sub setcursorpos Lib "USER" (ByVal x As Integer, ByVal y As Integer)
Declare Sub MessageBeep Lib "USER" (By... |
10 REM TEST VGA GRAPHICS MODE WITH CIRCLES
20 POKE 62976, 8
29 FOR Y = 0 TO 1
30 FOR X = 0 TO 8191:POKE 53248+X,0:NEXT
31 POKE 62976,9
32 NEXT
40 FOR X = 0 TO 150
50 Y = X
60 GOSUB 1000
70 NEXT X
80 INPUT A
90 POKE 62976, 0
100 END
1000 REM PLOT A PIXEL AT X,Y
1010 V = INT(X/4)+INT(Y/4)*1... |
COLOR 15
CLS
PRINT " Computer Arcade"
PRINT "-----------------------------------------------------------------------------"
PRINT
PRINT
PRINT " 1. Stella"
PRINT " 2. Hide-And-Go-Seek"
PRINT " 3. Ultra Slots"
10 INPUT "Which game would y... |
10 print "hello"
|
1 %TITLE "Credit Memo Journal"
%SBTTL "OE_MAIN_CREDITJOUR"
%IDENT "V3.6a Calico"
FUNCTION LONG OE_MAIN_CREDITJOUR(CDD_WINDOW_CDD SMG_WINDOW, LONG MOPTION, &
LONG MLOOP, LONG MFLAG, STRING MVALUE)
!
! COPYRIGHT (C) 1991 BY
!
! Computer Management Center
! Idaho Falls, Idaho.
!
! This software is furnished ... |
' Wormhole
' Version 3.0.0
' by Brent P. Newhall
' This program is PUBLIC DOMAIN. Anyone may use it however they
' wish, provided that credit is given where it's due for coding.
' Version 1.0.0 -- Original release.
' Version 1.0.1 -- QBASIC compatibility assured, unneeded variables
' ... |
rem 100 if 10 > 20 and 10 > 3 then a = 3 + 4 else a = 999
rem 200 gosub 400
rem 300 print "a= "; a
rem 350 end
rem 400 print "called sub"
rem 500 return
100 dim a(1,2)
200 a(0,0)=10:a(0,1)=20:a(0,2)=30:a(1,0)=40:a(1,1)=50:a(1,2)=60
rem 300 print "poo =", a(0,0),a(0,1),a(0,2),a(1,0),a(1,1),a(1,2)
300 print "poo =", a(0... |
REM PROGRAMA DE DEMOSTRACION 8
REM ROTACION DE UN CUBO EN TRES DIMENSIONES
REM CON ELIMINACION DE SUPERFICIES OCULTAS
REM POR EL METODO DEL PINTOR (SEGUNDO ALGORITMO DE RELLENADO)
REM CONTROLES:
REM Q, A: ROTAR EN EL EJE X
REM P, O: ROTAR EN EL EJE Y
REM K, L: ROTAR EN EL EJE Z
REM R: COLOREAR
REM S: TERMINA... |
Version =20
VersionRequired =20
Begin Form
AutoCenter = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =2
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =10230
DatasheetFontHeight =11
ItemSuffix =24
Right =1... |
10 REM LOGICAL 'NOT' TEST PROGRAM
20 A=3
30 IF NOT(A>5) THEN 60
40 PRINT "'NOT' FAILED THE LOGICAL OPERATOR TEST"
50 GOTO 99
60 PRINT "'NOT' PASSED THE LOGICAL OPERATOR TEST"
99 END
|
DO WHILE NOT K$ = "1" OR K$ = "2" OR K$ = "3"
CLS
SCREEN 12
LINE (20 + 15, 10)-(10, 455), 4, BF
LINE (10, 10)-(625, 10), 4, BF
LINE (20, 455)-(625, 455), 4, BF
LINE (625 + 15, 10)-(625, 455), 4, BF
REM "PICTURE BOX"
LINE (330 + 100, 70)-(330 + 100, 290 - 30)
LINE (330 + 100,... |
4K=51;L=53;G=49;IFF=7;G=50
5P.$12
20W=3;T=0;DIM WW2,AA6,A3,JJ1,O32;?#B002=8;GOS.a;GOS.h;AA5=0
21AA6=0;@=0;IN."INSTRUCTIONS"$A;IF$A="YES";G.8000
30CLEAR3;COLOUR3;F.X=30TO40;MOVE5,X;DRAW50,X;N.X;F.X=30TO40
80MOVE70,X;DRAW120,X;N.X;F.X=40TO90;MOVE5,X;DRAW15,X;N.X
90F.X=40TO90;MOVE105,X;DRAW120,X;N.X;F.X=80TO90;MOVE5,X
11... |
PRINT "Hello"
|
10 rem *** DEFINITION OF A STACK ***
20 dim s(10)
30 t1=10
40 t=0
100 print "TYPE 0 TO PUSH, 1 TO POP:";
110 input x
120 if x=1 then goto 170
130 print "WHAT NUMBER";
140 input n
150 gosub 1000
160 goto 180
170 gosub 1500
180 for i=1 to t
190 print s(i);
200 next i
210 print
220 goto 100
1000 rem *** PUSH ***
1010 if t... |
1 REM ******************************
2 REM * DMTF GAMEPAD CPC *
3 REM * ackerman JJ GROUP SLIDERS *
4 REM ******************************
5 CLS:bU=1:bD=2:bL=4:bR=8:bF1=16
10 d=JOY(0)
15 IF (d AND bU)=bU THEN q4=1 ELSE q4=0
20 IF (d AND bD)=bD THEN q1=1 ELSE q1=0
25 IF (d AND bL)=bL THEN q2=1 ELSE q2=0... |
10 REM 'RESUME' TEST PROGRAM
20 ON ERROR GOTO 100
30 PRINT "ENTER A POSITIVE NUMBER? ";
40 INPUT N
45 IF N = 0 THEN 999
50 A=LOG(N)
60 PRINT "THE LOG OF ";N;" IS ";A
70 GOTO 30
100 PRINT "A NEGATIVE NUMBER IS NOT ALLOWED"
110 N=N*(-1)
115 on error goto 100
120 goto 50
999 END
|
'marcafalla(sta%)
COLOR colors(5, colorpref), colors(4, colorpref): CLS
Box 1, 1, 3, 80: Center 25, "[F1]Ayuda [F9]Salir"
FOR k = 1 TO 12: Fun(k) = "no": NEXT k: salir = false: devolver = false
DIM Prud1 AS STRING * 4, Drog1 AS STRING * 1
COLOR colors(5, colorpref), colors(4, colorpref): LOCATE 4, 50
PRINT "Desd... |
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools
===============================================================================
FILE: Virus.MSWord.Mill
Type: OLE
-------------------------------------------------------------------------------
VBA MACRO ThisDocument.cls
in file: Virus.MSWord.M... |
DECLARE SUB LINES (Y!)
SCREEN 13
Y = 100
S = 2
TY2 = 5
TY1 = 15
DIM SHARED SPRITE(1 TO 6000)
LINES Y
GET (1, Y - 16)-(319, Y + 16), SPRITE
CLS
TOP:
Y = 100
DO
R = R + 1
T = R * 3.141592654# / 180
Y = Y + COS(T)
PUT (1, Y - 16), SPRITE, PSET
LOOP
SUB CENTER (ROW, TXT$)
LOCATE ROW, 21 -... |
10 ! &
! Program name: filcon Compiled with SCALE 0 on V07.0 &
! Decompiled on 24-Nov-16 at 02:11 AM
20 OPEN "KB:" FOR INPUT AS FILE 1%
30 DIM A%(100%,2%)
40 DIM A$(100%,1%)
1000 !
1010 PRINT "EXISTING FILE - "; &
\ INPUT LINE #1%, E$ &
\ E$=CVT$$(E$,4%) &
\ IF E$="?" THEN &
GOSUB 8010 &
\ ... |
# (for Emacs) -*- indented-text -*-
# this file `demo.bas' demonstrates the features of zmakebas
# (basically just the escape sequences), and gives you an example of
# what the input can look like if you use all the bells and whistles. :-)
#
# See `demolbl.bas' for a label-using version.
10 rem zmakebas dem... |
Operation =1
Option =0
Begin InputTables
Name ="pdqProcess"
Name ="pdqSection"
End
Begin OutputColumns
Expression ="pdqProcess.QuoteID"
Expression ="pdqProcess.SectionName"
Expression ="pdqProcess.FunctionID"
Expression ="pdqProcess.Name"
Expression ="pdqProcess.Cost"
Expression ="pdqPr... |
Attribute VB_Name = "MOD_Sound"
Option Explicit
'set up sound
Private Declare Function sndPlaySound Lib "winmm" Alias "sndPlaySoundA" _
(ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
Enum... |
' Squash | PanCake / IchigoJam BASIC
' Copyright (c) 2015 Keiichi Shiga (BALLOON | FU-SEN)
' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2015
10 'PanCake イワユル スカッシュ
15 IF VER()>11000 UART 1
20 VIDEO 0:?CHR$(128,4,5,1)
30 ?CHR$(128,5,7,0,#A6)
40 ?CHR$(128,6,8,0,0,1)
50 ?CHR$(128,5,7,1,#A6)
60 ?CHR$(128,6,8,... |
10 SCREEN 9
xa = 2: g = 500
RANDOMIZE TIMER
LINE (1, 1)-(639, 349), , B
x = INT(600 * RND) + 20
y = 50
15 n = 1: m = 1
CIRCLE (x, y), 7
LOCATE 23, xa: PRINT CHR$(219); CHR$(219); CHR$(219); CHR$(219); CHR$(219); CHR$(219); CHR$(219); CHR$(219)
FOR za = 1 TO 80000
NEXT za
IF g <= 25 THEN GOTO 500
g = g - .1
... |
CLS
x = 10
y = 10
DIM xp(14)
DIM yp(76)
DIM ch(1064)
DIM tem(3)
tem1 = 0
GOSUB scre
GOSUB choose
DO
i$ = INKEY$
SELECT CASE i$
CASE "w": IF SCREEN(x - 1, y) <> 111 THEN LOCATE x, y: PRINT " ": x = x - 1
CASE "s", "x": IF SCREEN(x + 1, y) <> 111 THEN LOCATE x, y: PRINT " ": x = ... |
5 CLS
10 REM base canon
PLAY "ml"
INPUT nth$
20 FOR x = 1 TO 3
30 PLAY "l2o1d<abf+gdga>"
40 NEXT x
50 PLAY "l4o1dd<aabbf+f+ggddggaa>"
60 FOR x = 1 TO 8
70 PLAY "l8o1dddd<aaaabbbbf+f+f+f+ggggddddggggaaaa>"
80 NEXT x
150 PLAY "l1f+"
|
IF usercommand$(runcommands) = "green" THEN
textcolor = 10
usercommands = -1
END IF
|
5 'Проверка результатов логических операций NOT,AND,OR,XOR,EQV,IMP для операндов i,j╝{-1,0}.
10 FOR I=-1 TO 0:FOR J=-1 TO 0
20 PRINT I;J;NOT(I);IANDJ;IORJ;IXORJ;IEQVJ;IIMPJ
40 NEXT:NEXT
|
0 REM MODIFIED FROM https://sourceforge.net/p/buraphakit/MB_git/ci/HEAD/tree/CSCLASSICS/ERATOSTHENESE.BAS#l26
5 REM MODIFIED TO USE MEMORY INSTEAD OF ARRAYS
10 REM SIEVE OF ERATOSTHENES
15 REM MODIFED FROM QUITE BASIC MATH PROJECT DEMO
20 REM
25 REM L IS THE LIMIT OF THE SIEVE
30 REM WE WILL FIND ALL PRIME NUMBERS UP ... |
10 '******* STARTREK for the IBM PC ********** (C) Graham Wheeler 1984
20 REM======================================================================
30 REM
40 REM
50 RANDOMIZE TIMER:OPTION BASE 0:SND=0 'Init randomizer, set array subscript base to zero and deselect sound
60 REM----------------------------------------... |
CHDIR ".\samples\pete\su2"
' Interesting facts
' Programmed on windows 95 that runs at 50-60 Mhz
' Had to remake all movement just for the bullets
' listen to music while programming
' All remade in a few hours( don't know how long, just one afternoon-not that long)
' Made BY me - Nixon
' Rewrite most of it for a bett... |
'jede dimension = 512
DIM a(16384) AS INTEGER, b(16384) AS INTEGER
FOR x = 100 TO 400
FOR y = 100 TO 200
FOR z = 200 TO 300
NEXT z
NEXT y
NEXT x
|
NEW
' 102 ----------
' Display WeatherForecast to MatrixLED
1 'ÃÝ·Öγ 3/4
10 Q=0
' Weather to MatrixLED
100 FOR L=0 TO 7
110 [L]=[10+L]
120 NEXT
130 GOSUB 900
140 WAIT 60*3
' Weather -> Temperature Diff (Scroll)
200 FOR S=0 TO 7
210 FOR L=0 TO 7
220 [L]=[L]<<1|[20+L]>>(7-S)
230 NEXT
240 GOSUB 900
250 WAIT 5
... |
10 REM From https://en.wikipedia.org/wiki/Rugg/Feldman_benchmarks
300 PRINT"S"
400 K=0
500 K=K+1
510 LET A=K/K*K+K-K
600 IF K<1000 THEN 500
700 PRINT"E"
800 END |
10 rem fp to integer
20 code = 49152
30 for loop = 0 to 17
40 read byte
50 poke loop + code,byte
60 next loop
70 rem
80 rem m/c data
90 data 162,6 : rem $a2,$06 - ldx #6
100 rem again
110 data 189,52,3 : rem $bd,$34,$03 - lda 820,x
120 data 149,... |
' Copyright (c) 1988, 1989, 1990 Crescent Software
DEFINT I-N
DEFDBL A-H, O-Z
SUB TRANSPOSE (A(), B(), M, N) STATIC
' Matrix traspose subroutine
' Input
' M = number of rows in matrix [ A ]
' N = number of columns in matrix [ A ]
' A() = matrix A ( M rows by N columns )
' Output
... |
5 LET K=3.14159/180
10 PRINT "ANGLE","1-2COS(G)","2+SIN(2G)","1+2COS(G)-3SIN(G)^2"
20 DEF FNR(X)=INT(X*100+.5)/100
30 DEF FNA(X)=1-2*COS(K*X)
40 DEF FNB(X)=2+SIN(2*K*X)
50 DEF FNC(X)=1+2*COS(K*X)-3*SIN(K*X)^2
60 FOR G=0 TO 360 STEP 15
70 PRINT G,FNR(FNA(G)),FNR(FNB(G)),FNR(FNC(G))
80 NEXT G
90 END
|
5 color 15
10 cls
15 print "let's start to have fun with MCX Basic"
20 let a=10
30 let b=943
40 let c$=" summ"
50 print a+b+c$
55 end
60 color 11 |
Operation =1
Option =0
Where ="(((dbo_ProjectHeader.DocketNum) Is Not Null) AND ((dbo_ProjectHeader.InvoiceNum)"
" Is Null) AND ((dbo_ProjectHeader.Void)=False))"
Begin InputTables
Name ="dbo_ProjectComponentPress"
Name ="dbo_ProjectComponentHeader"
Name ="dbo_ProjectHeader"
Name ="dbo_ContactGener... |
10 B$(0) = "Dies"
20 B$(1) = "Ist"
30 B$(2) = "String"
34 Print "String written: "
40 For I = 0 to 2 : Print B$(I) : Next
|
10 S$="5D3D1D672"
20 D$="498":D=792:P$="246"
30 GOSUB100
99 END
100 REM ALL POSSIBLE
110 FORI=1TOLEN(D$):FORJ=1TOLEN(D$):FORK=1TOLEN(D$)
120 I$=MID$(D$,I,1):J$=MID$(D$,K,1):K$=MID$(D$,J,1)
130 IFI$<>J$ANDJ$<>K$ANDI$<>K$THENGOSUB200
140 NEXT:NEXT:NEXT
199 RETURN
200 REM CHECK DIVISIBLE
210 V$=MID$(S$,1,1)+I$+MID$(S$,3,1... |
10 SCREEN 0:COLOR 1,1,1:WIDTH 40:KEY OFF
20 Q$="-MATRICES-"
30 W$="Original GWBASIC Version OKS 1994"
40 E$="MSX Version OKS 2010"
50 DEFFNX(X$)=20-LEN(X$)/2
60 LOCATE FNX(Q$),4:PRINT Q$
70 LOCATE FNX(W$),6:PRINT W$
80 LOCATE FNX(E$),8:PRINT E$
90 COLOR 15
100 IF STRIG(0) THEN RUN"matrices.bas" ELSE 100
|
10CLS:CLEAR200:DIMG$(8)
12G$(1)=CHR$(143)+CHR$(143)+STRING$(4,128)
14G$(2)=CHR$(143)+STRING$(1,128)+STRING$(4,159)+STRING$(1,128)
16G$(3)=STRING$(1,128)+STRING$(6,159)+STRING$(1,128)
18G$(4)=CHR$(128)+CHR$(159)+CHR$(175)+CHR$(159)+CHR$(175)+CHR$(159)+CHR$(159)+CHR$(128)
20G$(5)=CHR$(128)+CHR$(159)+CHR$(207)+CHR$(159)+C... |
DECLARE FUNCTION MouseInit% ()
DECLARE FUNCTION TopAryNum% (n%)
DECLARE FUNCTION TopTower% (n%)
DECLARE SUB Backup ()
DECLARE SUB DrawTowers ()
DECLARE SUB Expand (x1%, y1%, x2%, y2%, tx%, ty%, sc%, cs%, clr%)
DECLARE SUB GetMouseOver (x%, ch%)
DECLARE SUB Grey ()
DECLARE SUB Help ()
DECLARE SUB MouseDriver (ax%, bx%, ... |
CLS
INPUT q
w = 0
FOR a = -q TO q
FOR s = -q TO q
FOR d = -q TO q
IF q = SQR(a ^ 2 + s ^ 2 + d ^ 2) THEN w = w + 1
NEXT
NEXT
NEXT
PRINT w
|
_TITLE "Reverser"
SCREEN 13
icon = _LOADIMAGE("..\resources\jarvis.png")
_ICON icon
SCREEN 12
REDIM a$(1048576)
CR$ = CHR$(13) + CHR$(10)
OPEN "..\source\JARVIS.bas" FOR INPUT AS #1
DO
a = a + 1
LINE INPUT #1, a$(a)
LOOP UNTIL EOF(1) = -1
CLOSE #1
OPEN "..\source\JARVIS'.bas" FOR OUTPUT AS #1
FOR ba = 1 TO a
... |
'Processing Network by BLACK
'rewritten for p5js.bas by Fellippe Heitor
'Original: https://www.openprocessing.org/sketch/111878
DIM SHARED poop(1 TO 50) AS new_Particle
DIM SHARED flag AS _BYTE
DIM SHARED distance AS INTEGER
CONST speed = .01
'$include:'../../p5js.bas'
TYPE new_Particle
pos AS vector
r AS _F... |
Version =20
VersionRequired =20
Begin Form
AutoCenter = NotDefault
OrderByOn = NotDefault
AllowDesignChanges = NotDefault
DefaultView =2
TabularFamily =103
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =7920
DatasheetFontHeight =10
ItemSuffi... |
REM A variation on the program for a `time-series' graph, here instantiated
REM for the Chaotic Liar
REM Programming elements included here were developed in background research
REM for Patrick Grim, Gary Mar and Paul St. Denis, THE PHILOSOPHICAL COMPUTER:
REM EXPLORATORY ESSAYS IN PHILOSOPHICAL COMPUTER MODELING, Bra... |
10 PLAY "o3l16e8e8b2b-b>d-8<b1>e8e8b2b-b>d-8<b1o4l16b1<e8e8b2b-b>d-8<b1>e8e8b2b-b>d-8"
20 print "still alive"
|
REM personal jump route table editor v1.1
REM for use with galactic
REM this program edits data\j3.dat
REM
REM jim vassilakos (jimv@empirenet.com)
DIM j$(17)
x = 1: y = 1
OPEN "i", 1, "data\j3.dat"
FOR a = 1 TO 17
LINE INPUT #1, j$(a)
NEXT a
CLOSE 1
50 REM show table
CLS
COLOR 14
FOR a = 1 TO 2
... |
1 %TITLE "Quarterly Retirement Report"
%SBTTL "PR_RPRT_YTDDED"
%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 i... |
SCREEN 9
CLS
10
PRINT "Joystick in Mittelstellung"
StickSchleife1:
StickMitteX = STICK(0)
StickMitteY = STICK(0)
Knopf = STRIG(1)
IF Knopf = -1 THEN CLS : GOTO Stick1
GOTO StickSchleife1
Stick1:
PRINT "Joystick oben/links und Knopf"
FOR za = 1 TO 10000
NEXT za
StickSchleife2:
StickLe... |
1000 REM Quite BASIC Computer Science Project
1010 REM Bubble Sort program
1100 REM Initialize the array
1100 LET N = 10
1110 ARRAY A
1120 GOSUB 3000
1130 REM Print the random array
1140 PRINT "Random list:"
1150 GOSUB 4000
1160 REM Sort the array
1170 GOSUB 2000
1180 PRINT "Sorted list:"
1200 REM Print the sorted arra... |
FUNCTION SodukoCheckBox (row, col, num)
checkBox = -1
rowx = INT(((row - 1) / 3)) * 3
colx = INT(((col - 1) / 3)) * 3
FOR r = 1 TO 3
FOR c = 1 TO 3
IF puzzle((rowx + r), (colx + c)) = num THEN checkBox = 0
NEXT c, r
END FUNCTION |
! ************************************
! * Client Proxy Procedure Code
! * generated by rpcmake
! * on Friday, April 13, 2018 at 15:38:26
! *
! * interface: basic_server
! *
! ************************************
SUB CLIENT( &
I, &
F, &... |
10 :REM'ANTSCALE - Antenna Frequency Scaling - 17 MAR 97 rev.08 APR 97
20 IF EX$=""THEN EX$="EXIT"
30 CLS:KEY OFF
40 F$="######.###"
50 I$="####.### in."
60 C$="####.## cm.="
70 UL$=STRING$(80,205)
80 X$=STRING$(80,32)
90 LF=1/LOG(10) :REM'log factor for base 10
100 COLOR 7,0,0
110 GOTO 220
120 :REM'
130 :REM'.....er... |
@ERASE
0 REM this is the base code for all the AIRcable OS products
0 REM we take the AIRcable SMD/Mini as our base device
0 REM moved from UART command line to SPP as default.
0 REM let's reserve the first 30 lines for internal stuff
0 REM $1 is the version of the command line
1 0.6
0 REM defaults setting for mod... |
10 :REM'QUIKTABL - math tables - 07 JUN 2002
20 CLS:KEY OFF
30 IF EX$=""THEN EX$="EXIT"
40 PROG$="quiktabl"
50 COMMON EX$,PROG$
60 PI=4*ATN(1) :REM'3.141593
70 UL$=STRING$(80,205)
80 :REM'
90 :REM'.....title page
100 CLS
110 COLOR 15,2,1
120 PRINT " QuikTables"TAB(57)"by George Murphy VE3ERP ";
130 COLOR 1,0:PRINT STR... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridY =10
Width =7823
DatasheetFontHeight =11
ItemSuffix =30
Right =19800
Bottom =12120
DatasheetGridlin... |
DECLARE SUB collisions ()
DECLARE SUB cllsntct ()
DECLARE SUB bullets ()
DECLARE SUB menu ()
DECLARE SUB gtshp ()
DECLARE SUB drwshp ()
DIM SHARED sh(100)
DIM SHARED c(360)
DIM SHARED s(360)
DIM SHARED p(100)
DIM SHARED an
DIM SHARED x
DIM SHARED y
DIM SHARED x2
DIM SHARED y2
DIM SHARED score
DIM SHARED... |
'Form created with the help of Freeform 3 v03-27-03
'Generated on Aug 29, 2005 at 14:34:03
notice "When deleting objects, remember that only the FIRST object selected will be removed."
cursor hourglass
bmpsat$ = "data.pak"
gosub [extract.bmps]
on error goto [resume]
loadbmp "house", "house.bmp"
loadbmp "Clear", "x.bm... |
0 if peek(49152) <> 128 then load "m/l",8,1
1 goto 1000
10 rem:::::::graphics
11 if mu then poke 53270,216 : rem mu = multi color graphics
12 poke 53265,59 : rem 59 for graphics, 27 for text
13 poke 53272,29 : rem pixel pattern storage, 29 means patterns not stored in same location as colors
14 poke 56576,198 : r... |
10 for i=0 to 10
20 print i
30 if i=5 then exit for
40 next
50 for i=0 to 0
60 print i
70 next I
80 for i=1 to 0 step -1
90 print i
100 next
110 for i=1 to 0
120 print i
130 next
140 for i$="" to "aaaaaaaaaa" step "a"
150 print i$
160 next
|
10 FORA = 0TOPEEK(53281)
20 ? A
30 next A
40 end
50 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.