text stringlengths 7 5.36M |
|---|
00 LET a = 3 + 4 THEN 2 / (1 - 5) ^ 2 ^ 3
01 LET b = 5 + 3
02 IF a > b THEN
03 GOTO 05
04 LET a = a b
05 END
|
0 DEF FNZ(X,Y)=Y*Y-X*X
10 KEY OFF
20 CLS:PRINT" 3-D PLOT"
30 PRINT " === ====":PRINT :PRINT
40 INPUT "HAVE YOU DEFINED THE FUNCTION TO BE PLOTTED Y/N";A$
50 IF A$="Y" THEN GOTO 110
60 CLS:PRINT "You must define the function to be plotted in line 0 of the program. It"
70 PRINT "must be called FNZ(X,Y). Fo... |
'#sec:Main
2000 cls:color 9
2010 print "RESTAS SOLO PARA INTELIGENTES":color 0
3005 for i=1 to rnd(1)*10 : j=rnd(1) : next i
3040 m=rnd(5)+3
3050 t=rnd(20)+15
3052 gosub 3700:if t=n then 3050
3053 print "Restas entre 1 y ";m
3320 a$="te gane !!!"
3330 b$="tu ganas."
3332 print "SubTotal=";:color 12:? t:color 0
3340 f... |
10 rem コメント
20 print "hello world"
25 print "hello world again!"
|
10 print "hello"
20 print "hel"+"lo!"
40 print("a"+"a"="aa")
50 print("a"+"a"="aa")
55 print("a"+"b"="aa")
70 j=-2
80 printj*0
90 print0*j:k$="88182":l$="yeah":o$="87"
100 print "z"+mid$("hello"+mid$("yeah",1,2),2,3)+"pp"
110 print "z"+mid$(str$(val("13"+"522"))+mid$("yeah",1,2),2,3)+"pp"
115 print "o"+str$(v... |
1: REM ********************************************
2: REM Roulette Simulation 2
3: REM von Dietmar Schrausser (c)2014
4: REM ********************************************
5: CLS: PRINT „Roulette Simulation:“
10: CLEAR: DIM P(36)
20: FOR I=0 TO 36:P(I)=1:NEXT
30: NN=1: V0=1:SW=-1:SWP=1:Z1=-... |
Attribute VB_Name = "modPublic"
'This is a part of the ThunderVB project.
'You are not allowed to release modified(or unmodified) versions
'without asking me (Raziel) or Libor .
'For Suggestions ect please e-mail at :stef_mp@yahoo.gr
'NOTE , THIS IS AN OLD VERSION RELEASED FOR TESTING
' IT DATES 13/11/2004 [dd/... |
10 a=0:for i=1 to 100
20 a=a+i
30 next:print a
|
REM "--------------"
REM "Dialog Writing"
REM "--------------"
INPUT "Hello. What's your name?"; name$
PRINT "Okay, "; name$; ". That's a good name."
INPUT "Do you like programming?"; answer$
IF answer$ = "yes" THEN
PRINT "Good to know that :)"
ELSE
PRINT "OH!! programming is fun, you should try that"
END IF
|
1 CLEAR 30,&H3FFF
2 PCLEAR 4:PMODE 4,1:COLOR 1,2
3 TP=&H7FF0:ST=&H4000
4 P1=ST:P2=TP:PV=.15
5 CLS:PRINT
6 PRINT" MOUNT FRACTAL"
7 PRINT" BY"
8 PRINT" BRUCE MACKENZIE"
9 PRINT:PRINT
10 PRINT"CAN YOUR MACHINE HANDLE THE HIGH";
11 PRINT"SPEED POKE? Y/N"
12 A$=INKEY$:IF A$<>"Y" AND A$<>"N" T... |
LET i = 100
LET g = 150
LET m = 0
LET s = 0
CLS
PRINT "The objective of the game is to escape the two chasers"
SLEEP 2
CLS
INPUT "Input chaser 1 speed (No of points to move per turn) Default = 5"; z
INPUT "Input your speed (No of points to move per turn) Default = 5"; u
RANDOMIZE TIMER
LET o = 150
LET p =... |
dbMemo "SQL" ="SELECT tbl_Revisit_List.PARK, tbl_Revisit_List.Plot\015\012FROM tbl_Revisit_List"
"\015\012ORDER BY tbl_Revisit_List.PARK, tbl_Revisit_List.Plot;\015\012"
dbMemo "Connect" =""
dbBoolean "ReturnsRecords" ="-1"
dbInteger "ODBCTimeout" ="60"
dbBoolean "OrderByOn" ="0"
dbByte "Orientation" ="0"
dbByte "... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =145946903
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =13500
DatasheetFontHeight =11
ItemSuffix =30
... |
10 REM *** SYNC BASS LINE ***
20 FOR Z = 54272 TO 54296 : POKE Z,0 : NEXT
30 M = 54272
40 POKE M + 24,15
50 POKE M + 5,9: POKE M + 6,15
55 J = J + 1:IFJ = 3THENFORT= 1 TO 1000 : NEXT : POKE M + 24,0 : END
60 READ H,L,DR : IF H < 0 THEN 500
70 POKE M+15,H: POKE M+1,L
80 POKE M+4,19
90 FOR Q = 1 TO DR :... |
10 POKE &HA1A8, &H80
20 POKE &HA1A6, 1
|
10 open 1,1,1,"rom area file"
20 for j=8*4096 to 10*4096-1
30 p=peek(j)
40 print#1,chr$(p);:rem ; is essential
50 next
60 close |
REM test.bas
REM wookay.noh at gmail.com
10 F = 100
20 S = 200
30 T = 400
40 GOTO T
REM Function
100 Y = 140
110 N = 160
120 IF A=B THEN GOTO Y
130 GOTO N
REM YES
140 PRINT "passed: " ; A
150 RETURN
REM NO
160 PRINT "Assertion failed"
170 PRINT "Expected: " ; A
180 PRINT "Got: ... |
IF usercommand$(runcommands) = "red" THEN
textcolor = 12
usercommands = -1
END IF
|
10 rem color demo
20 rem
30 vr=1024
40 kr=55296
50 print "S"
60 poke 53281,1
70 for i=vr to vr+999
80 poke i,160:next
90 z=kr:q=kr+39
100 e=kr+960:r=kr+999
110 for j=0 to 12
120 for i=0 to 19
130 x=int(rnd(1)*16)
140 poke z+j*41+i,x
150 poke q+j*39-i,x
160 c1=z+j*41+i*40
170 if c1>56295 then 190
180 poke c1,x
190 c1=q+... |
'File getCollisions.bas 0+DATE$++Time$
CSUB getCollisions
00000000
4FF0E92D B09D4CA6 F44F469C 68247E48 6826931B 961168A3 68E69319 68676813
B014F8D4 2000F8DC FC03FB0E A010F8D4 03C3EB06 FB0E69A4 680DFE02 97189412
9F196849 E068F8CD 8900E9D0 3400E9D3 E9CD9811 4644340C F85B00E3 F3C33003
EB0033C9 E9D404C3 E9CD0... |
1 !++
! Special program to move AP_OPEN data from one user to another
!
! Description:
!
! This program is set up to move AP_OPEN records from one
! user to another.
!
! Note that the second account and the batch number are
! hardcoded into this program, since it is only a one-time
! program that I hope I nev... |
SCREEN 8
COLOR 10
INPUT "Password >", password$
IF password$ = "482-BC12-LM9" THEN GOTO nexter
IF password$ = "I returned the disk" THEN GOTO nexter
IF password$ = "JTOlds" THEN GOTO nexter
ELSE
COLOR 12
PRINT "I'm sorry. That's not it."
END
nexter:
COLOR 12
PRINT "Hi!! You FINALLY made it!!!"
COLOR 10
PR... |
rem -----------------------------------
rem -- initialize charset
rem -----------------------------------
proc init_charset(animphase!)
on animphase! goto init_1, init_2
return
init_1:
memcpy $2200, $2280, 16
memcpy $2220, $2290, 16
memcpy $2240, $22A0, 16
return
init_2:
memcpy $2210, $2280... |
1 %TITLE "Check Journal Maintenance"
%SBTTL "PR_MAIN_HIS_CHECK"
%IDENT "V3.6a Calico"
FUNCTION LONG PR_MAIN_HIS_CHECK(CDD_WINDOW_CDD SMG_WINDOW, &
LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE)
!
! COPYRIGHT (C) 1987, 1988 BY
!
! Computer Management Center, Inc.
! Idaho Falls, Idaho.
!
! This softwa... |
10 PRINT "DAY OF THE WEEK"
20 PRINT
29 REM - REQUEST USER INPUT
30 PRINT "(ENTER 0,0,0 TO END PROGRAM)"
40 PRINT "MONTH, DAY, YEAR (EX. 8,2,1979)";
50 INPUT M,D,Y
59 REM - TEST FOR END OF PROGRAM
60 IF M<>0 THEN 100
70 IF D<>0 THEN 100
80 IF Y<>0 THEN 100
90 GOTO 360
99 REM - NEED TO ADJUST INPUT FOR CALCULA... |
1 %TITLE "Data Entry Integrity Test Function"
%SBTTL "FUNC_TESTINTEGRITY"
%IDENT "V3.6a Calico"
FUNCTION LONG FUNC_TESTINTEGRITY(CDD_WINDOW_CDD SMG_WINDOW, &
STRING PAR_TOTEST, &
STRING PAR_DATABASE, &
STRING PAR_PROGRAM, &
STRING PAR_VARID, &
STRING PAR_DESC, &
LONG PAR_WINDOWNUM, &
LONG PAR_KEYNUM, ... |
10 CLEAR 800
20 REM Developed by Thomas Glufke
30 REM Complete Sources: github.com/glufke/instagr8
40 REM Requires GR8NET cartridge
50 REM ------ CONFIGURE HERE ------
60 MAXFILES=2
70 SV$="glufke.ddns.net"
80 SP$="8080"
90 F$="/instagr8.url"
100 GOSUB 760
110 SV$=MID$(F$,1,INSTR(F$,":")-1)
120 SP$=MID$(F... |
10 K$=INKEY$:IF K$="" THEN 10 ELSE PRINT K$;
20 PRINT INP(&H98):GOTO 10
|
100 rem PacBas - PacMan clone in C64 Basic!
110 rem PacBas01.bas working path planning routine - time 2:40
120 rem PacBas01-1.bas individual arrays - time 2:44
130 rem PacBas01-2.bas 2 diminsions array for ghosts - time 2:57
140 rem PacBas01-3.bas no intermediate var for moving - time 3:41
150 rem r... |
Attribute VB_Name = "modJrnlCol_Misc"
Option Compare Database
Option Explicit
Private Const THIS_NAME As String = "modJrnlCol_Misc"
'VGC 09/09/2017: CHANGES!
'tblJOURNAL_FIELD DOESN'T GET AUTOMATICALLY UPDATED!!!
' ** Array: arr_varStat().
Private lngStats As Long, arr_varStat() As Variant
Private Const... |
10 GOTO 100
20 PROC foo(a,b):?@a,@b:RETURN @a MOD 10
100 ?FN foo(11,1)+42
110 ?FN foo(23,1)+42
|
1 '
1 ' The Twilight City
1 ' by chromePunk
1 ' October 2019
1 '
1 ' INITIALIZE
1 ' x and ex are character positions
100 DEFINT a-z
110 e=100:a=30:d=15:x=5:f=0
120 ee=90:aen=20:den=10:ex=7:en=0:a$=""
1 ' an array in basic 0,1,2,3
130 DIM em(3): em(0)=-1:em(1)=1:em(2)=1:em(3)=-1
1 ' function definitio... |
10 T=CHAN 10 : PRINT "ENTER DEGREES CELCIUS"
REM GET CURRENT TEMP AND CALIBRATION POINT
20 INPUT S
30 S=S+273 : C=T*43/88 : K=273+(C-S)
REM DISPLAY CURRENT TEMP
40 T=CHAN 10 : C=T*43/88
50 PRINT "TEMP = ";C-K : GOTO 40
|
1 %TITLE "Generate a date and a time given a batch number"
%SBTTL "ASSG_UNMAKEBATCH"
%IDENT "V3.6a Calico"
SUB ASSG_UNMAKEBATCH(BATCH$, GIVEN_DATE$, GIVEN_TIME$)
!
! COPYRIGHT (C) 1994 BY
! Computer Management Center
! Idaho Falls, Idaho.
!
! This software is furnished under a license and may be used and
! ... |
FUNCTION SodukoCheckCol (col, num)
checkCol = -1
FOR rowx = 1 TO 9
IF puzzle(rowx, col) = num THEN checkCol = 0
NEXT rowx
END FUNCTION |
REM "Random Grid Demo"
Size=10
FOR X=Size/2 TO ScreenWidth+Size/2 STEP Size
FOR Y=Size/2 TO ScreenHeight+Size/2 STEP Size
COLOR RND,RND,RND
POINT X,Y,Size
NEXT
NEXT |
DEFINT A-Z
PRINT "Diameter of lens (D>0)"; : INPUT D
R = INT(D / 2)
PRINT "Magnification factor (0>Mó"; LTRIM$(STR$(R)); ")"; : INPUT M
S = SQR(R ^ 2 - M ^ 2)
DIM TFM(D * D)
FOR Y = -R TO -R + D - 1
FOR X = -R TO -R + D - 1
IF X ^ 2 + Y ^ 2 >= S ^ 2 THEN
A = X
B = Y
... |
10 for n=1 to 30 step 2.7
20 print n,sqr(n)
30 next n
|
DIM SHARED x, y
'$include:'../../p5js.bas'
'Adapted from https://p5js.org/reference/#/p5/keyIsPressed
FUNCTION p5setup ()
createCanvas 512, 512
strokeWeight 10
x = _WIDTH / 2
y = _HEIGHT / 2
END FUNCTION
FUNCTION p5draw ()
IF _KEYDOWN(LEFT_ARROW) THEN x = x - 5
IF _KEYDOWN(RIGHT_ARROW) THEN x... |
Attribute VB_Name = "NZS1170_Seismic_Coefficient"
'Refer https://engineervsheep.com/2020/seismic-coefficient-1/ for further notes on usage
'____________________________________________________________________________________________________________
Option Explicit
Function Loading_ADRS(T_1 As Variant, Site_subsoil_cla... |
10 COLOR,5:SCREEN2:BOX$="R20 U20 L20 D20":HAT$="E14 F14 BL20":DO$="R5 U10 L5 D10":WINDOW$="R4 U4 L4 D4":HOUSE$="XBOX$; BR4 XDO$; BM+10,-5 XWINDOW$;BM-18,-12 XHAT$;"
20 DRAW"BM20,20 C1 S2 XHOUSE$;BM100,100 S6 C15 XHOUSE$;"
30 GOTO 30
|
'PDQPAUSE.BAS - DOS PAUSE replacement accepts a command-line timeout value
'Copyright (c) 1992 Ethan Winer
'Usage: PDQPAUSE NumSeconds
'Compile and link as follows:
'
' BC pdqpause /o;
' LINK /far/nod/noe/packc pdqpause _noval _noread _noerror, , nul, pdq;
' EXE2COM pdqpause
DEFINT A-Z
'$INCLUDE: 'PDQDECL.BAS'
... |
GOSUB vorbereitungen
GOSUB malen
GOSUB bild
GOSUB anmalen
END
vorbereitungen:
SCREEN 12
DO
LOCATE 3, 23
PRINT "Grobheit (8-50) :";
INPUT gro%
CLS
LOOP UNTIL gro% < 100 AND gro% > 0
PRINT TAB(20); "Nicht anmalen˙˙˙˙˙˙˙˙˙˙˙˙˙ 0"
PRINT TAB(20); "Weiß anmalen˙˙˙˙˙˙˙˙˙˙˙˙˙˙ 1"
DO: t$ = INKEY$: LOO... |
Attribute VB_Name = "modPublic"
Option Explicit
'C O N S T A N T S
'=========================================================================
Public Const HWND_TOPMOST = -1
Public Const HWND_NOTOPMOST = -2
Public Const SWP_NOMOVE = &H2
Public Const SWP_NOSIZE = &H1
Public Const SWP_NOACTIVATE = &H10
Public Const SWP_S... |
Attribute VB_Name = "CommonModules"
Option Explicit
Option Base 1
'*** Application Definitions
Global gsServerPath As String
Global gsAppTitle As String
Global gsAppVersion As String
Global gsUserID As String
Global gsPassword As String
Global gsUserKey As String
Global glErrNum As Long
Global gsErrDesc As String
Glob... |
Version =20
VersionRequired =20
Begin Form
AutoCenter = NotDefault
AllowDeletions = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowEdits = NotDefault
AllowDesignChanges = NotDefault
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
... |
Attribute VB_Name = "mdl徐州"
Option Explicit
Declare Function dysEncrypt Lib "ApiDll.DLL" (ByVal strPass As String) As String
Declare Function init_com% Lib "SURE32WC.DLL" (ByVal str As Long)
Declare Function close_com% Lib "SURE32WC.DLL" ()
Declare Function sele_card% Lib "SURE32WC.DLL" (ByVal crdno As Long)
Declare F... |
CLEAR
CLS
5 INPUT "Please press 1 to fight or 2 to customize ?", a
IF a = 1 THEN 50
IF a = 2 THEN 10 ELSE GOTO 5
10 CLS
INPUT "1-12,(this will be your SKILL) ?"; S
INPUT "1-12,(this will be your LUCK) ?"; L
INPUT "1-24,(this will be your STAMINA) ?"; H
INPUT "1-12,(this will be your ARMOUR) ... |
IF (usercommand$(runcommands) = "recompile" OR usercommand$(runcommands) = "compile") AND runcommands = 1 THEN
speechoutput$ = "recompiling"
speechprint$ = speechoutput$
GOSUB textprint
GOSUB speechoutput
usercommands = -1
_DELAY 1
iniloc$ = "data\jarvis.ini"
GOSUB updateini
request$... |
REM CODE WRITTEN BY ABEL LOPEZ - MODIFICATION OF SOURCE CODE IS FORBIDDEN
REM DISTRIBUTION IS ENCOURAGE PROVIDED THE SOURCE CODE STAYS INTACT AND
REM UNMODIFIED.
Menu:
LET EASY = 0
LET MEDIUM = 0
LET HARD = 0
CLS
COLOR 7, 1
PRINT " STAR TREK: THE NEXT GENERATION - BORG BATTLE ... |
Attribute VB_Name = "Module1"
'* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
'* Module : Module1
'* Created : 11-04-2021 11:00
'* Author : VBATools
'* Contacts : http://vbatools.ru/ https://vk.com/vbatools
'* Copyright : VBATools.ru
'* * * * * * * * * * * * * * ... |
10 REM ARRAY FUNCTION ZER
15 DIM D(3)
20 ARR A = ZER1(5)
30 ARR B = ZER1(3)
40 ARR C = ZER1(4)
45 ARR D = ZER1
50 PRINT "ARRAY A"
60 ARR PRINT A
70 PRINT "ARRAY B"
80 ARR PRINT B
90 PRINT "ARRAY C"
100 ARR PRINT C
110 PRINT "ARRAY D"
120 ARR PRINT D
200 OPTION BASE 1
220 ARR A = ZER1(5)
230 ARR B = ZER1(3)
240 ARR C = ... |
!--------------------------------------------------
!- Donnerstag, 14. Juni 2018 20:42:59
!- Import of : MAFIA.PRG
!- From Disk : c:\c64\tools\vice\disks\mafia_(sascha_laffrenzen).d64
!- Commodore 64
!--------------------------------------------------
!- Spielervariablen
!- $A = Anzahl der Mitspieler 1 - 8
!- $... |
10 CLS
20 PRINT "The blinking cursor should not be visible"
30 PRINT
40 PRINT "PRESS ANY KEY to restore the blinking cursor"
41 '------------------------------------------
50 SETCURSOR 0' Hide the blinking cursor
60 A=KEYPRESS
70 SETCURSOR 1' Show the blinking cursor
71 '-------------------------------------... |
Attribute VB_Name = "mod_TSR01"
Option Explicit
Option Compare Text
'在此處定義之所有變數, 一律以G開頭, 如G_AAA$, G_BBB#, G_CCC&
'且變數之形態, 一律在最後一碼區別, 範例如下:
' $: 文字
' #: 所有數字運算(金額或數量)
' &: 程式迴圈變數
' %: 給一些使用於是或否用途之變數 (TRUE / FALSE )
' 空白: 代表VARIENT, 動態變數
'必要變數
Global G_FormFrom$ '空白代表首次執行
'定義各 Form 標題文字變數
Global G_Form_TSR01$
Glob... |
5 rem ***needs debugging - issue with additional zeroes in between op codes***
10 poke 53280,0:poke 53281,0:print"{clear}"
20 dim k$(77),k1(77),k2(77):h$="0123456789abcdef":r$=chr$(13):qr$="{right*10}"
30 dim t$(200),rr(100),z$(100)
40 p=0:for ii=1 to 76:read k$(ii),k1(ii),k2(ii):if k$(ii)<>"*" then next
50 data adc,10... |
10 :REM'vacap8 - 23 DEC 2007
20 CLS:KEY OFF
30 IF EX$=""THEN EX$="EXIT"
40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$
50 COMMON EX$,PROG$
60 PI=4*ATN(1) :REM'3.141593
70 UL$=STRING$(80,205)
80 U1$="#####.###"
90 DIM A(13)
100 DIM B(13)
110 DIM R(13)
120 :REM'.....title page
130 CUC=0:LUC=0:DUC=0:FLC=0:CD=0:AM=0:KUC=0:DLC... |
GOTO Anfang
DEF PROC Zentriere(A)
FOR T=1 TO A
IF LEFT$(A$(T),1)="" THEN
PRINT TAB (20-( LEN(A$(T))-1)/2);"p";
A$(T)= RIGHT$(A$(T), LEN(A$(T))-1)
PRINT A$(T);"q"
ELSE
PRINT TAB (20- LEN(A$(T))/2);A$(T)
ENDIF
NEXT T
RETURN
-Auswahl
Zeile= CSRLIN
Zentriere(Anz)
FOR T=(Zeile-1)*8-1 TO (Zei... |
0 POKE65497,0:DIMH(95):G=2:J=.03:K=0:L=.00019:FORH=0TO95:H(H)=G*256:PRINTG;:K=K+L:J=J+K:G=G+J:NEXT
1 G=1:J=.2:K=0:L=.004
10 HSCREEN2:D=3600:FORG=0TO15:READA:PALETTEG,A:NEXT:DATA0,8,24,16,48,32,40,7,56,10,11,12,13,14,15,63
11 POKE65437,0
195 N=0:O=1:I=2:U=3:K=4:M=256:B=255
200 PI=3.141592653589793238:S=PI/256:FORG=0TOP... |
atom=Li
contraction shell=S num_primitives=1 num_coefficients=1
1.9740 1.000000
contraction shell=S num_primitives=1 num_coefficients=1
0.6830 1.000000
contraction shell=P num_primitives=1 num_coefficients=1
7.3200 1.000000
contraction shell=P num_primitives=1 num_coefficients=1
1.8750 1.000000
contraction shell=D num_... |
CLS
INPUT "What is your name"; name$
PRINT "Hello " + name$ + ":)"
|
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p.
10 'Dust Fractal of Three Rotations, Backtracking
20 'Name: DUSTBT
30 SCREEN 12, 0, 0, 0: CLS
40 WINDOW (-.8, -.6)-(1.6, 1.2)
45 COLOR 15: LOCATE 1, 1: PRINT "Dust fractal of three rotations, backtrack method"
50 p = 7: DIM x1(p), y1(p), x2(p), y2(p... |
Attribute VB_Name = "Globals"
Option Explicit
'================================================================================
' Constants
'================================================================================
Public Const ProjectName As String = "IBEnhancedAPI27"
Private Const Modu... |
10 DEFDBL C, D, M, N
11 ZEICHENPROBLOCK = 3
20 INPUT "Eigener Public-Key (Test = 0 + CR = 94815109): "; N
30 IF N = 0 THEN N = 94815109
40 INPUT "Eigener Secret-Key (Test = 0 + CR = 63196467): "; D
50 IF D = 0 THEN D = 63196467
51 LINE INPUT "Dateiname fuer entschluesselten Text: "; AUS$
52 OPEN "O", 2, AUS$
60... |
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p.
10 'Modern Art
20 'Name: MONDRIAN
30 SCREEN 12, 0, 0, 0: CLS : pi = 3.141593: RANDOMIZE 111
40 WINDOW (-.5, -.3)-(1.5, 1.2)
50 DIM x(200), y(200)
52 FOR i = 1 TO 200: x(i) = RND: y(i) = RND: NEXT i
60 COLOR 7: PRINT : PRINT "This program forms... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
AllowDeletions = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
PictureAlignment =2
DatasheetGri... |
Attribute VB_Name = "MOD_INET_Check"
Option Explicit
Private Declare Function InternetGetConnectedState Lib "wininet" (ByRef dwFlags As Long, _
ByVal dwReserved As Long) As Long
Private Declare Function InternetCheckConnection Lib "wininet" Alias "InternetCheckConnectionA" _
(ByVal lpszUrl As String, ByV... |
' JPHISH.FRM
Option Explicit
Sub Command3D1_Click ()
Dim l0020 As Variant
Dim l0024 As Variant
Dim l0028 As Variant
Dim l002C As Variant
If List1.ListCount = 0 Then
MsgBox "You need at least one name to save!", 16
Exit Sub
End If
For l0020 = 0 To List1.ListCount - 1
l0024 = List1.List(l0020)
l0028 = ";"
If l0020 = L... |
1 %TITLE "Create Folder For Beginning Balances"
%SBTTL "GL_SPEC_REGENGJ"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 2001 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... |
/* Simpe immutable & censorship resistant chat on DVM-BASIC
by @plrspro
*/
/* Service Functions and Utility */
Function Initialize() Uint64
01 STORE("admin_addr",SIGNER())
02 STORE("room_list_index",0)
03 STORE("nickname_"+SIGNER(), "Admin")
10 IF HostChat("General") == 0 THEN GOTO 90
11 RETURN 1
//A... |
' All of that condensation
SCREEN _NEWIMAGE(640, 580, 32) ' screen size: 640 by 580
load = _LOADIMAGE("load1.png")
_PUTIMAGE (0, 0), load
' Maps
plains = _LOADIMAGE("plains.png"): desert = _LOADIMAGE("desert.png"): marsh = _LOADIMAGE("marsh.png"): river = _LOADIMAGE("river.png"): village = _LOADIMAGE("city.png"): ... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =5
ScrollBars =0
TabularCharSet =204
PictureSizeMode =1
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
... |
10 LET A = 0
20 LET B= 0
30 FOR I = 1 TO 10
40 IF A = 0 THEN F =1
50 PRINT F
60 LET B=A
70 LET A=F
80 LET F=A+B
90 NEXT I
100 END
|
RANDOMIZE TIMER
10 SCREEN 12
15 'Startwerte fr Gitter
20 x = 150: y = 100: g = 1
30 'Programm zur Gitter-Erstellung
40 x = x + g
50 IF x >= 490 THEN x = 150: y = y + g
60 IF y >= 320 THEN GOTO 110
70 a = INT(2 * RND)
80 IF a = 0 THEN fa = 8 ELSE fa = 0
90 PSET (x, y), fa
100 GOTO 40
110 'Startwerte f... |
0000 REM
0002 REM <<< BASIC TO VDM-1 LINK PROGRAM >>>
0004 REM
0006 REM PROCESSOR TECHNOLOGY CORP.
0008 REM 6200 HOLLIS STREET
0010 REM EMERYVILLE, CALIFORNIA 94608
0012 PRINT
0014 A$="(HEX) IS YOUR LAST ADDRESS, INPUT:"
0016 B$="GIVE ME YOUR VDM":C$="ADDRESS IN DECIMAL"
0018 PRINT "<<< VDM TO BASIC... |
5 __speed=20
10 x=__width/2 : y=__height/2
20 dx=1 : dy=1
30 while 1
40 line x,y to x+1,y+1
50 x=x+dx : y=y+dy
60 if x <= 0
70 dx = 0-dx
80 endif
90 if x >= __width
100 dx = 0-dx
110 endif
120 if y <= 0
130 dy = 0-dy
140 endif
150 if y >= __height
160 dy = 0-dy
170 endif
180 wend
|
10 :REM'DBLFB - 18 NOV 2010
20 CLS:KEY OFF
30 IF EX$=""THEN EX$="EXIT"
40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$
50 COMMON EX$,PROG$
60 :REM'.....title page
70 COLOR 15,2
80 PRINT " DOUBLE FEEDBACK AMPLIDIER"TAB(61)"by R.J.Dehoney IEEE ";
90 COLOR 7,0
100 :REM'.....start
110 PRINT
120 PRINT "This program finds Gain, Z... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
DefaultView =0
ScrollBars =0
ViewsAllowed =1
TabularFamily =255
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =936658162
Begin Form
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
BorderSty... |
FOR I = 1 TO 10
PRINT "HI INDY JS"
NEXT
PRINT "OK BYE"
END
PRINT "NOT OK!"
|
0 REM ************************
1 REM * - CCESOFT - *
2 REM *OTTO LONGO SERNATINGER*
3 REM * VERSAO 1.1 05/85 *
4 REM ************************
5 REM * REGRESSAO LINEAR *
6 REM ************************
10 DEF FN A(X) = INT (X * 10000 + .5) / 10000
20 HOME
25 PRINT TAB( 11)"- CCESOF... |
FUNCTION ide (ignore)
'Note: ide is a function which optimizes the interaction between the IDE and compiler (ide2)
' by avoiding unnecessary bloat associated with entering the main IDE function 'ide2'
IF idecommand$ <> "" THEN cmd = ASC(idecommand$)
IF cmd = 3 THEN 'request next line (compiler->ide... |
'Dieser Beitrag wurde aus dem Forum der Website http://ccintern.dharlos.de ubernommen.
'Link zum Beitrag im Forum der ccintern: http://ccintern.dharlos.de/forum/lesen.php?eintrag=4151
' LCD-Treiber in CCBASIC mit LOCATE, CLS und Sonderzeichen
' letztes Update 11.01.2005 (fuer NAN-YA 4x20)
' *** BYTE-VARIABLEN... |
10 print chr$(147); chr$(19);
20 poke 53280,2 : poke 53281,12
30 print chr$(18); chr$(31);
45 for c=1 to 15
50 print " ";
55 next c
rem read sprite data
60 for c=0 to 127
65 read byte
70 poke 832+c,byte
75 next c
80 x0=0 : y0=190 : x1 = 300 : y1 = 75
90 d0=1 : d1=-4
rem start o... |
Attribute VB_Name = "MOD_CommonFunctions"
Option Explicit
'Public Declare Function GetActiveWindow Lib "user32" () As Long
'Public Declare Function GetForegroundWindow Lib "user32" () As Long
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal w... |
10 COLOR 15,1,1
20 SCREEN 4: DEFINT A-Z: CO=0: REM color sweep
120 REM Load patterns and colors
130 FOR I=0 TO &H1F
140 READ R
150 VPOKE I,R : REM load tile pattern
160 VPOKE &H2000+I, &H20: REM load color fore/back ground = green on black
170 NEXT I
200 REM populate the screen
210 FOR I=&H1800 TO &H18FF
... |
Operation =1
Option =0
Where ="(((CStr(Year([Start_date])))=Nz(IIf(Abs([Forms]![frm_Summary_Tool]![togFilterByY"
"ear])=1,[Forms]![frm_Summary_Tool]![cmbYearFilter],[Enter the year to filter by:"
"]),[Enter the year to filter by:])) AND ((qsub_Loc_filters.Location_type)<>'Inci"
"dental') AND ((IIf(IsNull([... |
10 REM HAMMURABI
20 H=100;S=3000;A=1000;Y=0;@=0;P.$12
100 P.'"O HAMMURABI, KING OF SUMARIA,"'
120 P."YOUR SUBJECTS NOW NUMBER "H","'
130 P."YOUR KINGDOM COVERS "A" ACRES,"'
140 P."YOU HAVE "S" BUSHELS OF GRAIN."''
200 L=20+RND%5;P."LAND IS "L" BUSHELS PER ACRE,"'
210 INPUT"HOW MANY ACRES DO YOU BUY "E;IF E*L>S GOSUB a... |
140 END
100 IF LEN(A$) = 0 THEN GOTO 90
120 IF A$ = "Y" OR A$ = "y" THEN GOTO 30
40 S$ = ""
60 S$ = S$ + "*"
30 INPUT "How many stars do you want: "; N
70 NEXT I
90 INPUT "Do you want more stars? "; A$
80 PRINT S$
130 PRINT "Goodbye "; U$
50 FOR I = 1 TO N
20 PRINT "Hello "; U$
110 A$ = LEFT$(A$, 1)
10 INPUT "What is y... |
5 RANDOMIZE
8 PRINT "THIS IS A GAME OF >>>>>>>>>>RUSSIAN ROULETTE"
10 PRINT\PRINT "HERE IS A REVOLVER"
20 PRINT "HIT '1' TO SPIN CHAMBER AND PULL TRIGGER"
22 PRINT " (HIT '2' 1 TO GIVE UP) "\PRINT "GO";
25 N=0
30 INPUT I
31 IF I<>2 THEN 35
32 PRINT " CHICKEN !!!"\GOTO 72
35 N=N+1
40 IF RND(0)>0.83323 THEN 70
45... |
10 REM TEST SPC() FUNCTION
20 PRINT "START TEST"
30 FOR I = 1 TO 10
32 PRINT "X";STRING$(".!",I);"Y"
34 NEXT I
90 PRINT "END TEST"
99 END
|
0 PCLEAR 8:ON BRK GOTO 2:ON ERR GOTO 2
1 GOTO 5
2 WIDTH 40:STOP
5 JMS F:WIDTH 32:PMODE 4,1:PCLS:SCREEN 1,1
6 PMODE 4,5
10 DIM P(30,2),L(30,1),D(30,1)
15 XA=45/57.29577951:YA=0/57.29577951:ZA=10/57.29577951:DX=30:DY=30:DZ=30
25 NP=0:NL=0
26 :'***READ IN POINTS
40 READ P(NP,0),P(NP,1),P(NP,2)
50 IF P(NP,0)<>99999 THEN NP... |
Check AF7B9A37
Auto 8224
# Run-time Variables
Var c: Num = 58.7
Var d: Num = 167
Var t: Num = 1
Var b: Num = 2
Var ti: Num = 221204
Var n: NumFOR = 11, 10, 1, 30, 8
Var o: NumFOR = 0, 40, 5, 40, 2
Var x: NumFOR = 62, 86, 13, 50, 2
Var l: NumFOR = 6, 6, 1, 70, 2
# End Run-time Variables
10 LET ti=65536*PEEK 23674+... |
dim matrix(15,15):lx=1:ly=1
dim wert(15)
dim wert$(15)
for x=1 to 11
for y=1 to 9
matrix(x,y)=0
next y
next x
cls:screen 12:color 15
print"ððð CITIZEN 120D ððð"
print
gosub ShowIt
2 locate lx+2,ly
if matrix(ly,lx)=0 then color 30:print"þ" else color 26:print"±"
color 15
1 a$=inkey$:... |
1 ' Mecha GAME
2 RETM = 1
5 SCREEN 2 : CLS
10 DRAWSPRT "MECHS", (320-64)/2,20 , 64,64, 64+8,64
20 LOCATE 19,15 : ? "Mecha Game"
30 EXEC "MP3", "VOL", 10
40 EXEC "MP3", "PLAY", 1
50 IF ( BTN(0) <> 0 ) THEN GOTO 100
60 DELAY 150 : GOTO 50
99 ' == Player selection ==
100 CLS
110 FOR I = 1 TO 5-1 : ' 5th is smaller than 32... |
1 %TITLE "General User Defined Journal Definition File"
%SBTTL "GL_MAST_USERDEF"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1998 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 wit... |
REM Galactic v2.4
REM Public Domain 1997 Jim Vassilakos
REM San Bernardino, California
REM jimv@empirenet.com
REM Written in Microsoft QuickBasic version 4.5
DIM subname$(16, 2)
DIM world$(80)
DIM basalg$(2, 50, 2)
DIM basalgn(2)
DIM algncol(50)
DIM letimage(13, 44) AS INTEGER
DIM length(44)
DIM jump%(3... |
10 :REM'FILTRLC - FILTERS, R/L/C - 27 JUN 1998 rev.
20 IF EX$=""THEN EX$="EXIT"
30 CLS:KEY OFF
40 COLOR 7,0,1
50 PI=4*ATN(1) :REM'3.141593
60 UL$=STRING$(80,205)
70 :REM'
80 :REM'.....title page
90 CLS
100 COLOR 15,2
110 PRINT " FILTERS - PASSIVE R/L/C"TAB(57)"by George Murphy VE3ERP ";
120 COLOR 1,0:PRINT STRING$(80,... |
CLS
DEFLNG A-Z
n = 19
m = 2 ^ n - 1
k = 4
FOR i = 1 TO (n - 2)
u = (((k ^ 2 - 2) / m) - INT((k ^ 2 - 2) / m)) * m
PRINT u
IF u = 0 THEN PRINT "This is a Mersenne Prime": END
k = u
NEXT
|
10 :REM'WINDCHIL - Wind Chill Factor - 16 NOV 2005
20 CLS:KEY OFF
30 IF EX$=""THEN EX$="EXIT"
40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$
50 COMMON EX$,PROG$
60 :REM'
70 :REM'.....title page
80 CLS
90 COLOR 15,2
100 PRINT " WINDCHILL FACTOR"TAB(57)"by George Murphy VE3ERP ";
110 COLOR 1,0:PRINT STRING$(80,223);
120 COLO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.