text stringlengths 7 5.36M |
|---|
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
ScrollBars =2
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =3839
DatasheetFontHeig... |
1 %TITLE "Convert from RSTS/E to VMS"
%SBTTL "JC_CONV_CONVERT"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1992 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... |
10 REM 'LOG' TEST PROGRAM
20 PRINT "ENTER A POSITIVE NUMBER? ";
30 INPUT N
40 L=LOG(N)
50 PRINT "THE NATURAL LOG OF ";N;" IS ";L
99 END
|
* ENCODING=ISO-8859-1
NAME instances/miplib3/blend2.pre.mps.gz Iterations 180 Rows 182 Cols 428
XL VV276 VV2
XL VV278 VV3
XL VV280 VV4
XL VV281 VV6
XL VV282 VV7
XL VV283 VV8
XL VV284 VV9
XL VV286 VV10
XL VV287 VV11 ... |
COLOR , 1: CLS
x1 = 17: y1 = 13: x2 = 62: Y2 = 8
GOSUB F
A$ = "TASTATUR-SCHREIB-TEST"
B$ = "Copyright 1998, by MatzeMan"
COLOR 1
LOCATE 9, 29: PRINT A$
LOCATE 10, 26: PRINT B$
LOCATE 12, 19: PRINT "Drücke bitte ENTER wenn du bereit bist !!!"
COLOR 4: LOCATE 12, 32: PRINT "ENTER"
DO: LOOP UNTIL INKEY$ = CHR$(13)
CO... |
1 %TITLE "Customer Name/Telephone Master Report"
%SBTTL "AR_RPRT_TELEPHONE"
%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 ... |
DEFINT A-Z
'****** EDITFORM.BAS - GRAPHIC Form Editing Module ********************************
' by Donald R. Malin and Phil Cramer
' Copyright (c) 1989, 1990 Crescent Software, Inc.
'
'The following routines are provided to manage editing of data entry forms
'from your programs:
'
' EditForm - This is ... |
Attribute VB_Name = "FileRoutines"
'
' ****************************************************************************
'
' SQUID2 is a program for processing SHRIMP data
'
' Program author: Dr Ken Ludwig (Berkeley Geochronology Center)
'
' Supporters (members of the SQUID2 Development Group):
' - Ge... |
unionplus: usadv = 120 * difficult: IF player = 2 THEN usadv = 50 * difficult
IF realism > 0 THEN usadv = usadv * .7
RETURN |
Attribute VB_Name = "EXCEL_WSHEET_QTBL_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.
'**************************************************************... |
REM File: .bas
REM Data:
REM Programmer: Yuriy Lomako
REM Description:
REM -------------------------------------------------------------------
10 CLS
FOR A = 10 TO 100 STEP 10
B = A / 2.34
C INT(B)
PRINT B
NEXT A
|
Operation =1
Option =2
Where ="(((Year([Start_Date])) Is Not Null))"
Begin InputTables
Name ="tbl_Locations"
Name ="tbl_Events"
End
Begin OutputColumns
Alias ="Visit_Year"
Expression ="Year([Start_Date])"
End
Begin Joins
LeftTable ="tbl_Locations"
RightTable ="tbl_Events"
Expression ="tbl_L... |
Attribute VB_Name = "total_pc"
Private Enum state
open_phase = 1
close_phase = 2
update_phase = 3
End Enum
Private Const pw = ""
Private Function resize_name_range(name As String, ws As Worksheet, c1 As Range, c2 As Range) As Integer
On Error GoTo 10
Dim wb As Workbook
Dim nr As name
Dim rn... |
CLS
SCREEN 12
RANDOMIZE TIMER
scol = 9
LINE (40, 1)-(40, 480), scol, B
LINE (1, 16)-(40, 16), scol, B
DO
I$ = INKEY$
REM col = INT(RND * 3) + 7: IF col = 9 THEN col = 15 ' 3 Farben
col = INT(RND * 15) + 1 ' 15 Farben
t1x = INT(RND * 599) + 41
t1y = INT(RND * 479) ... |
dbMemo "SQL" ="SELECT DISTINCT Transect_Select_SpeciesCover.Transect\015\012FROM Transect_Selec"
"t_SpeciesCover LEFT JOIN Transect_Data ON Transect_Select_SpeciesCover.[Transect"
"] = Transect_Data.[Transect]\015\012WHERE (((Transect_Data.Transect) Is Null));\015"
"\012"
dbMemo "Connect" =""
dbBoolean "Re... |
'*** PROGRAM: Hello, world! Version 13...
' DEMO: Using 2 different types of sub-routine: SUB/END SUB - FUNCTION/END FUNCTION
CALL clearScreen
PRINT greeting$
END
SUB clearScreen
CLS
END SUB
FUNCTION greeting$
printGreeting = "Hello, world!"
END FUNCTION
|
DIM x AS INTEGER
DIM RNum AS INTEGER
CLS
FOR x = 1 TO 50
RANDOMIZE TIMER
RNum = (RND * 9) + 1
PRINT RNum;
NEXT x
|
1inputr:p=r*4+1:forx=1tor:y=cint(sqr(r^2-x^2)):p=p+y*4:next:?p
|
/'
Copyright (c) 2011, SavedCoder.
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 list of conditions and the
following d... |
Attribute VB_Name = "MOD_Security"
Enum enmShutdownMethod
EWX_SHUTDOWN = 1
EWX_REBOOT = 2
EWX_FORCEREBOOT = 3
EWX_FORCESHUTDOWN = 5
End Enum
Enum enmSecureSystem
[Starting Up] = 0
[Fully Secure] = 1
[Normal Session] = 2
[Desktop Access] = 3
[Admin Access] = 4
[Exit... |
100 '***************************************************************
110 '* THE GAME OF STAR LANES - The Galectic Market Game *
120 '* 2-6 Players Updte date 12.08.2001 *
125 '* Set Max Players to 6 Enhence Screen to 80x30 *
'* Ver 1.17 Base on 1.16A + Info Scre... |
' Stand Up!
' November 1996
DEFINT a-z
REM $option !gy
REM $option j30
REM $include standup.bh
REM $include acctbox.bas
REM $include filesel.bas
REM $include dialog.bas
SUB Checkdi
STATIC button,fsmessage$,f$,file$,stext$,buf,buf$,texter$(1),info$(1)
STATIC buf2$,fsname$,texty$,alert,a
SHARE... |
DECLARE SUB title ()
DECLARE SUB n2 ()
DECLARE SUB n3 ()
DECLARE SUB n4 ()
DECLARE SUB n5 ()
DECLARE SUB n6 ()
DECLARE SUB n7 ()
DECLARE SUB n8 ()
DECLARE SUB n9 ()
DECLARE SUB n10 ()
'DECLARE SUB n10 ()
'DECLARE SUB n9 ()
'DECLARE SUB n8 ()
'DECLARE SUB n8 ()
'DECLARE SUB n7 ()
'DECLARE SUB n7 ()
'DECL... |
!- 10 fna(x)=int(rnd*x)+1 [ZX]
!- remove line 10 for [TRS]
10 def fna(x)=int(rnd(1)*x)+1
20 gosub1010:gosub1130
30 letp=1:lety=0:letx=1:letep=10
40 letu=0:letnm=0
50 lets$=""
60 letb$=""
!- 70 home:print:print"rendezvous" [Apple]
!- 70 cls:prin... |
10 MEMORY &7FFF
20 LOAD "PLAYMUS.BIN",&8000
35 MODE 0:ink 0,0:ink 1,23:ink 2,21:ink 3,13:ink 4,10:ink 5,25 :ink 6,26:ink 7,15:ink 8,0:ink 9,0:ink 10,0:ink 11,0:ink 12,0:ink 13,0:ink 14,0:ink 15,0
36 load"IMAGE.SCR",&C000
40 call &8000 'initialize the music.
50 call &bd19:call &8003 'plays one frame of the mu... |
100 ' LOC sample
110 OPEN "DATA6.DAT" AS #1
120 FIELD #1, 20 AS A$, 8 AS B$
130 INPUT "ÅÏ´";NA$:INPUT "·³Ö";KY#
140 LSET A$=NA$:RSET B$=MKD$(KY#):PUT #1
150 PRINT NA$;" »Ý É ÃÞ°À Ê";LOC(1);"ÊÞÝ ÃÞ½¡"
160 INPUT "continue?(y/n)";C$
170 IF C$="y" OR C$="Y" THEN PRINT:GOTO 130
180 IF C$<>"n" AND C$<>"N" THEN 160 E... |
10 PRINT CHR$(5),"WHITE"
20 PRINT CHR$(28),"RED"
30 PRINT CHR$(30),"GREEN"
40 PRINT CHR$(31),"BLUE"
50 PRINT CHR$(144),"BLACK";CHR$(5);"(BLACK)"
60 PRINT CHR$(156),"PURPLE"
70 PRINT CHR$(158),"YELLOW"
80 PRINT CHR$(159),"CYAN"
90 PRINT CHR$(129),"ORANGE"
100 PRINT CHR$(149),"BROWN"
110 PRINT CHR$(150),"LT. RED"
120 PRI... |
DECLARE SUB borra ()
DECLARE SUB borra2 ()
DECLARE SUB pina ()
DECLARE SUB patada ()
DECLARE SUB cabezaso ()
DECLARE SUB pina2 ()
DECLARE SUB pata2 ()
DECLARE SUB cabe2 ()
DECLARE SUB camina ()
DECLARE SUB CAMI2 ()
DIM SHARED drafhon1$, drafhon2$, drafhon3$, drafhon4$, drafhon5$, drafhon6$, drafhon7$, kuyoshi... |
10 KEY OFF
22 CLS
30 LOCATE 12,1:INPUT "TIME: ",A$
40 TIME$=A$
50 SCREEN 3
60 WINDOW (-160,-100)-(160,100)
70 CLS
100 ' SUB SETUP
110 LINE (-70,70)-(70,70),8
120 LINE (70,70)-(70,-70),8
130 LINE (70,-70)-(-70,-70),8
140 LINE (-70,-70)-(-70,70),8
150 LINE (40,70)-(36,63),8
160 LINE (70,40)-(63,36),8
170 ... |
10 A# = 10.0
20 IF A# < 20.0 THEN PRINT "LESS" ELSE PRINT "MORE"
30 PRINT "XXX"
40 IF A# > 20.0 GOTO 70 ELSE PRINT "MORE"
50 A# = A# + 2
60 GOTO 40
70 PRINT "XXX"
|
10 FOR I = 1 TO 10
20 PRINT I, SQR(I)
30 NEXT I
40 END
|
'$INCLUDE:'./include/head.bi'
PRINT "############### Universal Package Manager #################"
PRINT "# v1 -- (c) 2021 all-other-usernames-were-taken #"
PRINT "# https://github.com/all-other-usernames-were-taken/upm #"
PRINT "#"; RandomMsg$(57); "#"
PRINT "###########################################... |
' ========================================================================================
' Demonstrates the use of the validateNode method.
' ========================================================================================
#DIM ALL
#COMPILE EXE
#INCLUDE ONCE "msxml.inc"
#INCLUDE ONCE "ole2utils.inc"
' =====... |
'*************************main*****************************
10 REM Lunar Lander
20 REM By diomidis Spinellis
30 PRINT "You are on the Lunar Lander about to leave the spacecraft."
60 GOSUB 4000
70 GOSUB 1000
80 GOSUB 2000
90 GOSUB 3000
100 H = H - V 'H---Height V---Velocity
110 V = ((V + G) * 10 - U * 2) /... |
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p.
10 'H-Fractal, Backtracking
20 'Name: TREEH2
30 SCREEN 12, 0, 0, 0: CLS
40 WINDOW (-1.2, -.9)-(1.2, .9)
45 COLOR 15: LOCATE 1, 1: PRINT "H-fractal, backtrack method"
50 p = 6: DIM x1(p), x2(p), x3(p), x4(p), y1(p), y2(p), y3(p), y4(p)
60 a =... |
1 %TITLE "Maintain Financial Statement Command Files"
%SBTTL "GL_SPEC_FINCMD"
%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 lice... |
'' examples/manual/procs/vararg2.bas
''
'' NOTICE: This file is part of the FreeBASIC Compiler package and can't
'' be included in other distributions without authorization.
''
'' See Also: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgVaFirst
'' --------
'' Example of a simple custom printf
Sub myprintf... |
10 CLS : PRINT : PRINT : PRINT : PRINT
14 GOTO 20
15 PRINT
16 IF a$ = "cd rapidfil" THEN PLAY "MBT170O3aaaagffeddfaddddcbagffgagfeefedfad"
20 INPUT "C:\>", a$
30 IF a$ = "win" THEN GOTO 500
40 IF a$ = "cd rapidfil" THEN GOTO 520
50 IF a$ = "rf" THEN GOTO 540
55 IF a$ = "nc" THEN GOTO 590
60 IF a$ = "dir" THEN GOTO 570
... |
10 I = S = 0.0
20 READ T
30 IF T=999999 THEN 70
40 I = I+1
50 S = S+T
60 GO TO 20
70 PRINT " AVERAGE IS "S/I
80 IF I>=3 THEN 100
90 STOP
100 RESTORE
110 READ A,B,C
120 PRINT "AVERAGE OF FIRST THREE IS ";(A+B+C)/3
500 DATA 5.5, 3.46, 52
510 DATA 77.3, .89
600 DATA 999999
999 END
|
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... |
COMMON GAMEFILE, X, Y, MX, MY, NAME$, PLANET$, ITEM$
SCREEN 12: CLS
LOCATE 1, 20: COLOR 1: PRINT "INTERGALACTIC CONQUEST IS A WAY OF LIFE!"
LOCATE 2, 20: COLOR 4: PRINT " (THE STORY)"
PRINT : COLOR 9
PRINT "Over 600 years ago, a small spacecraft containing six intelligent Aztec settlers"
PRINT ... |
Version =20
VersionRequired =20
PublishOption =1
Checksum =-598795409
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Widt... |
10 hgr 1,0
20 cls
30 dram$="a10A10b10B10c10C10d10D10e10E10f10F10g10G10h10H10"
40 for i=0 to 7
50 draw @160,100,dram$,i,0,2
60 pause 30
70 draw @160,100,dram$,i,0,2
80 next
100 nrm
|
1000 DATA &ha0, &h00, &ha0, &h00, &ha0, &h00, &h00, &h00
1010 DATA &h00, &h00, &h00, &h00, &h40, &h40, &h40, &h00
1020 DATA &h40, &h00, &ha0, &ha0, &h00, &h00, &h00, &h00
1030 DATA &ha0, &hf0, &ha0, &hf0, &ha0, &h00, &h40, &he0
1040 DATA &hc0, &h20, &he0, &h40, &h80, &h20, &h40, &h80
1050 DATA &h20, &h00, &h40, &ha0, &... |
1 rem -- mazegenerator in basic v2
2 rem -- by oliver hermanni
3 rem --
4 rem -- original basic v2 code is from the book
5 rem -- "programming the commodore 64 - the definitive guide"
6 rem -- by raeto collin west
10 poke 53280,peek(53281):print "{clear}"
20 a(0)=-2:a(1)=-80:a(2)=2:a(3)=80
30 sc=1024:a=sc+81+80*int(10*... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DefaultView =0
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =9976
DatasheetFontHeight =10
ItemSuffix =77
Left =645
Top =120
... |
0REM THE BEST OF INTERFACE PAGE 37-38-39
10 REM YATHZEE BY I. SMITH
20 GOSUB 920
30 @=3;A=0;B=0;C=0;O=0;K=0
40 DIM AA15,BB15;FOR Z=1 TO 15;AAZ=0;BBZ=0;NEXT Z
50 DIM GG6;FOR Z=1 TO 6;GGZ=0;NEXT Z
60 DIM DD5;DIM Q2
70 PRINT $12
80 DIM FF5;FOR Z=1 TO 5;FFZ=0;NEXT Z
90 PRINT $30;?#E1=0;@=3
100 PRINT"1.ACES "AA1" 7.3 OF... |
' vi: ft=basic
'
option explicit
implements IKeyboardEvent
public function IKeyboardEvent_ev(vk_keyCode as long, pressed as boolean, alt as boolean, scanCode as long, time as long) ' {
debug.print "vk_keyCode = " & vk_keyCode & ", pressed = " & pressed & ", alt = " & alt & ", scanCode = " & scanCode & ", ti... |
1 %TITLE "Payroll Conversion"
%SBTTL "PR_SPEC_CONVERT"
%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 inc... |
DECLARE FUNCTION TYPE$ (A%)
DECLARE SUB WORD (PROMPT$, VAR$)
DECLARE SUB TBOX (TEXT$)
DECLARE FUNCTION EDITOR% ()
DECLARE SUB PRINTF (S AS STRING)
DECLARE SUB MILLIDELAY (msecs%)
DECLARE FUNCTION OPERATED% ()
DECLARE SUB RFIELD (Field$, Min%, Max%, Permitted$)
DECLARE FUNCTION SORT% (PERSON() AS STRING, SCORE%(), PERSO... |
Attribute VB_Name = "Шаблон"
Option Explicit
Dim mStr As Long, mPos As Long ' Размер рабочей области
' Секции шаблона
Global Const Sect_All = 0
Global Const Sect_Inf = 1
Global Const Sect_Hdr = 2
Global Const Sect_Tbl = 3
Global Const Sect_Sum = 4
Global Const Sect_Cur = 5
Global Const Sect_Mem = 6
Global Co... |
10 HOME
20 GOSUB 710
30 DIM WH$(50),HM(50),RS$(50),RE$(50),FL$(50): GOSUB 840
50 HOME
60 PRINT "Demerit Record System"
70 PRINT : PRINT " 1. Make new student record"
80 PRINT " 2. Edit existing record"
110 PRINT " 3. List records"
130 PRINT " 4. Quit to main menu": PRINT " 5. Choose dif... |
Attribute VB_Name = "CmdOutput"
Option Explicit
''''''''''''''''''''''''''''''''''''''''
' Joacim Andersson, Brixoft Software
' http://www.brixoft.net
''''''''''''''''''''''''''''''''''''''''
' STARTUPINFO flags
Private Const STARTF_USESHOWWINDOW = &H1
Private Const STARTF_USESTDHANDLES = &H100
' ShowWindo... |
10 COLOR1,15,4:SCREEN2:LINE(30,10)-(220,180),1,BF
30 CIRCLE(125,95),75,15:FOR R=5TO70STEP5:CIRCLE(125,92.5),R,15:CIRCLE(125,97.5),R,15:NEXT
100 GOTO 100
|
string1$ = "Hello, world"
PRINT string1$
string2$ = string1$
PRINT string2$
string1$ = "Goodbye, world"
PRINT string1$
|
Attribute VB_Name = "Admin"
Sub ShowAllSheets()
Error.DebugTekst Tekst:="ShowAllSheets > Execute"
ActSht = ActiveSheet.Name
For i = 1 To Sheets.count
Sheets(Sheets(i).Name).Visible = xlSheetVisible
Next i
Sheets(ActSht).Select
End Sub
Sub ShowOneSheet(Sht As String)
Error.DebugTekst Tekst:="Start ShowOne... |
Attribute VB_Name = "modAdminFunctions"
Public WebSite As String
Public g_sAppPath As String
Public g_bHasEncrypt As Boolean
Public m_oAES As New clsAES
Public m_sKey As String
Public Type ExcludeType
sTableName As String
sFieldName As String
End Type
Public Type POINTAPI
x As Long
y As Long
End Type
... |
Attribute VB_Name = "modThVibr"
Function Fxy_Dbl(X As Double, Y As Double) As Double
axmin = 0
aymax = 0
xxT# = X: yyT# = Y
Det# = (xMAX * yMAX - axmin * aymax)
ce1# = -(aymax * X - xMAX * Y) / Det#
ce2# = -(axmin * Y - yMAX * X) / Det#
am% = Int(ce1#)
aan% = Int(ce2#)
ceee1# = ce1# - am%
ceee2# = ce2# - a... |
10 PRINT CHR$(65)
|
10 A = 130000 : GOSUB 1000
30 PRINT "Square root of";A;"is";X; "(";X;"*";X;"=";X*X;")"
40 IF X <> 360 THEN PRINT "FAILED" : END
50 PRINT "SUCC"; : PRINT "ESS"
999 END
1000 REM calc square root of A. result in X
1010 X=0 : y=1 : z=1
1040 IF y > A THEN RETURN
1050 X=X+1
1060 z=z+2
1070 y=y+z
1080 GOTO 1040
|
940 REM The IBM Personal Computer Ball
950 REM Version 1.10 (C)Copyright IBM Corp 1981, 1982
960 REM Licensed Material - Program Property of IBM
980 SAMPLES$="NO"
990 GOTO 1010
1000 SAMPLES$="YES"
1010 COLOR 15,0:CLS:LOCATE 5,19,0:PRINT "IBM"
1020 LOCATE 7,12,0:PRINT "Personal Computer"
1030 COLOR 10,0:LOCATE 10,9,0:PR... |
1 KEY 1,CHR$(27)+"LIST"+CHR$(13):KEY 2,CHR$(27)+"LIST ":KEY 3,CHR$(27)+"RUN"+CHR$(13):KEY 4,CHR$(27)+"RENUM"+CHR$(13):KEY 5,CHR$(27)+"SAVE "+CHR$(34)+"B":KEY 6,CHR$(27)+"FILES"+CHR$(13):KEY 7,CHR$(27)+"LOAD "+CHR$(34):KEY 8,CHR$(27)+"Run "
2 KEY 9,CHR$(27)+"WIDTH 80"+CHR$(13):KEY 10,CHR$(27)+"SCREEN 0,1,0"+CHR$(13)
3 '... |
10 ? FRE("");:U$="fywapro":D$="K":? FRE("");:DIM E$(150):? FRE("")
20 FOR K=1 TO 150:E$(K)=CHR$(K):NEXT:? FRE("")
30 E$(1)="APR":? FRE(""):E$(1)=" "+E$(1):? FRE("")
|
CLS
PRINT "Hello World"
END
|
5 rem *** green on black, clearscreen ***
10 poke 53280,0:poke 53281,0
20 print chr$(30);chr$(147);
100 print" +----------------------------------+"
110 print" ! edlisp64 v0.3 dev !"
115 print" ! a very minimal list processor !"
120 print" ! (c)2019 by ir. marc dendooven !"
130 print" +------... |
0 POKE55,255:POKE56,47:V=53248:FOR I=12544 TO 12551:POKEI,0:NEXT:POKEV+32,0
1 POKEV+33,0:FOR I=12288 TO 12319:READ A:POKEI,A:NEXT:POKE54296,15
2 POKEV+24,28:POKEV+22,PEEK(V+22) OR 16:PRINT"{clear}":FOR I=12352TO12991:READA:POKEI,A
3 NEXT:POKEV+37,10:POKEV+38,5
5 DIM A$(24):R=0:POKE54278,0:POKE54292,0
10 FOR I=0 TO 24:R... |
Attribute VB_Name = "mMain"
Option Explicit
Public cDB As CBaseDatos
Public Mcod As String, Mnom As String
Public cReg As CRegistro
' Programa Principal
Sub Main()
Set cDB = New CBaseDatos
Set cReg = New CRegistro
' Clave del registro
cReg.ClaveReg = HKEY_CURRENT_USER
cReg.Ruta ... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
AutoResize = NotDefault
AutoCenter = NotDefault
DividingLines = NotDefault
OrderByOn = NotDefault
AllowDesignChanges = NotDefault
TabularCharSet =186
DateGrouping =1
GrpKeepTogether =1
PictureAl... |
10 rem ** rail runner (basic) **
20 g=1024:h=55296:s=54272:c=53280
30 s$(0)="ayr":s$(1)="burnley":s$(2)="cardiff"
40 s$(3)="derby":s$(4)="everton":s$(5)="falkirk":s$(6)="grimsby"
50 s$(7)="halifax":s$(8)="ipswich"
60 deffnr(x)=int(rnd(1)*(x+1))
70 pokec,6:poke53281,7:gosub3000
80 print"{clear}{blue}":input"how many pla... |
10 FOR Y=-12 TO 12
20 FOR X=-39 TO 39
30 CA=X*0.0458
40 CB= Y*0.08333
50 A=CA
60 B=CB
70 FOR I=0 TO 15
80 T=A*A-B*B+CA
90 B=2*A*B+CB
100 A=T
110 IF (A*A+B*B)>4 THEN GOTO 200
120 NEXT I
130 PRINT " ";
140 GOTO 210
200 IF I>9 THEN I=I+7
205 PRINT CHR$(48+I);
210 NEXT X
220 PRINT
230 NEXT Y
|
1 REM GWBASIC program to control MCP23S17 I/O expander inside PC Emulator
10 CLS
20 REM
30 REM check for I/O available
40 IF (INP(&HE0) AND 1) = 0 THEN GOTO 1100
80 REM
90 REM Setup Port A and B as Outputs
100 OUT &HE1, &HFF
110 OUT &HE2, &HFF
120 REM
130 PRINT "on/off Port A and B"
140 FOR I = 1 TO 4
150 ... |
1 rem 3d drawing 2
2 rem ***********************
3 rem
10 rem a three dimensional shape is drawn by this program
20 rem the rotation position and scale of the object
30 rem can be changed to give different viewing angles
35 rem hidden lines are not drawn
36 rem
40 rem set colours
50 pc=6:sc=12
60 gosub 10000
65 rem
70 ... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
TabularFamily =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =2... |
10 MEMORY 21999
20 ON BREAK GOSUB 40
30 GOTO 50
40 |MUSIC: END
50 CALL &6B78
60 ENV 1,15,-1,1
70 ENT 1,10,10,2
80 FOR i=42540 TO 42619 STEP 2: POKE i,RND*200:POKE i+1,16+RND*80:NEXT
90 DEFINT a-z
100 |MUSIC
110 IF PEEK(&39)=57 THEN model=464 ELSE model=6128
111 if peek (41480)>0 then 120 else |MUSIC,0,0,0,6
112 if i... |
95 REM * DEMONSTRATES STRING SUBSCRIPTS
100 DIM A$[8]
110 READ A$
120 IF A$="STOP" THEN 210
130 PRINT "A$=";A$
140 PRINT "LEN(A$)=";LEN(A$)
150 FOR I=1 TO LEN(A$) STEP 2
160 PRINT "A$(";I;",";I+1;")=";A$[I,I+1]
170 NEXT I
180 PRINT
190 GOTO 110
195 REM
200 DATA "ABCDEF","BASIC","STOP"
210 END
|
1 MODE 0
10 CALL &6B78
20 for i=18 to 21
30 |SETUPSP,i,0,128+16+8+1
31 |SETUPSP,i,15,9
32 |SETUPSP,i,9,17
33 |LOCATESP,i,i*5,0
34 next
132 for i=1 to 5:|ROUTESP,18:|AUTO,18:next
133 for i=1 to 20:|ROUTESP,19:|AUTO,19:next
134 for i=1 to 40:|ROUTESP,20:|AUTO,20:next
135 for i=1 to 60:|ROUTESP,21:|AUTO,21:next
... |
CLS
INPUT "Enter Value of n "; n
INPUT "Enter value of r "; r
numerator = 1
denominator = 1
IF n >= 0 THEN
FOR i = 1 TO n
numerator = numerator * i
NEXT i
FOR j = 1 TO n - r
denominator = denominator * j
NEXT j
END IF
permutation = numerator / denominator
PRINT "Factorial of "; n; "!="; denominato... |
CLS
start:
a = 0: b = 0: c = 0: d = 0
form1 = 0: form2 = 0: form3 = 0: form4 = 0
count = 0
PRINT "A B"
PRINT "- = -"
PRINT "C D"
PRINT : LPRINT : PRINT
PRINT " Type -1 if unknown."
INPUT "A = ", a
INPUT "B = ", b
INPUT "C = ", c
INPUT "D = ", d
INPUT "Problem Number: ", count
IF a = -1 THEN G... |
5 ' Leap year, for Chipmunk BASIC, web: http://rudih.info
10 CLS
20 main:
30 INPUT "Enter a year or 0 to exit: ", year
40 IF year <= 0 THEN END
50 IF year MOD 100 = 0 THEN
60 GOTO 190
70 ELSE
80 GOTO 110
90 END IF
110 year = year MOD 4
120 SELECT CASE year
130 CASE 0: PRINT "That year is a leap year.... |
10 PRINT "Hello, World!"
20 END |
10 REM Teste den Zufallszahlengenerator
20 a=0:b=0:c=1:i=0:j=0:p=0:t=PEEKL $4BA:u=t
30 WHILE
40 i=i+1
50 a=RAND:IF a>b THEN b=a:p=1
60 IF a<c THEN c=a:p=1
70 IF p=0 THEN 40
80 USING 8,14
90 PRINT c,1-b:z=PEEKL $4BA
100 USING 0,5:PRINT i;:USING 3,6:PRINT(z-t)*5/i,(z-u)*5/(i-j):j... |
Version =20
VersionRequired =20
Begin Form
AllowFilters = NotDefault
PopUp = NotDefault
Modal = NotDefault
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
AllowDeletions = NotDefault
Di... |
1 %TITLE "Ticket Journal Posting"
%SBTTL "PS_POST_TICKET"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1990 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
! the inclusion of th... |
' Copyright (c) 1988, 1989, 1990 Crescent Software
DEFINT I-N
DEFDBL A-H, O-Z
SUB USERFUNC (X(), F) STATIC
' User-defined function subroutine
' F(x) = 100(x2 - x1^2)^2 + (1 - x1)^2 + 90(x4 - x3^2)^2
' + (1 - x3^2)^2 + 10.1((x2 - 1)^2 + (x4 - 1)^2)
' + 19.9(x2 - 1)(x4 - 1)
' Input
... |
REM @english
REM TEXTS OUTPUT WITH POSITIONING (9)
REM
REM This example shows the use of ''CDOWN'', that embed a command into a
REM string to move down the cursor by 1 character.
REM
REM @italian
REM STAMPA DI TESTI CON POSIZIONAMENTO (9)
REM
REM Questo esempio mostra l'uso di ''CDOWN'', che incorpora un coman... |
DECLARE SUB openfile ()
DECLARE SUB linetoline ()
DECLARE SUB subfilename (what AS INTEGER)
DECLARE SUB menu ()
DECLARE SUB subget ()
DECLARE SUB subput ()
DECLARE SUB subxyc ()
DECLARE SUB free ()
DECLARE SUB subcircle ()
DECLARE SUB qqq ()
DECLARE SUB subcolor ()
DECLARE SUB quit ()
DECLARE SUB main ()
D... |
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 ... |
DECLARE SUB colorchange (c%)
DECLARE SUB shot (x%, y%, p%(), l%(), mode%)
'Fowler V.0
'By Tim Caswell
'8/24/98
'6:08 PM
'Picture size 32*24
'1 block
'2 slide \
'3 slide /
'4 coin
'5 fish icon
'6 angel icon
'7 dude icon
'8 water
'9 lava
'10 slime
'11 - squid
'12 - blob
'13 - fireball
'14 - fire1
'15... |
5 CLS
10 INPUT "What is your budget for today? ",A
20 INPUT "How much have you spent so far? ",B
30 IF B > A THEN GOTO 60
40 LET C = A - B
50 PRINT "Your budget for today was $"A" and so far you have spent $"B" so you have $"C" left for today.
60 LET D = B - A
65 IF A > B THEN END
70 PRINT "Looks like you are $... |
'Light Cycles
'written in QuickBASIC by Ben Deane
'Set up
OPTION BASE 0
WIDTH 80, 50
RANDOMIZE TIMER
ON KEY(1) GOSUB Quit
KEY(1) ON
ON KEY(2) GOSUB Hold
KEY(2) ON
DIM Scr(0 TO 51, 0 TO 81)
DIM Direction%(2, 2)
Cycle$(1) = CHR$(1)
Cycle$(2) = CHR$(2)
CLS
LOCATE 5, 33, 0: PRINT "Light Cycles"
PRINT TAB(... |
1 PRI "THIS IS A NUMBER GUESSING GAME. I'LL THINK"
2 PRI "OF A NUMBER BETWEEN 1 AND ANY LIMIT YOU WANT."
3 PRI "THEN YOU HAVE TO GUESS WHAT IT IS."
4 PRI
5 PRI "WHAT LIMIT DO YOU WANT";
6 INPL
7 PRI
8 L1=INT(LOG(L)/LOG(2))+1
10 PRI"I'M THINKING OF A NUMBER BETWEEN 1 AND"L
11 G=1
14 PRI "NOW YOU TRY TO GUESS ... |
2 PRINT TAB(30);"DEPTH CHARGE"
4 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
6 PRINT: PRINT: PRINT
20 INPUT "DIMENSION OF SEARCH AREA";G: PRINT
30 N=INT(LOG(G)/LOG(2))+1
40 PRINT "YOU ARE THE CAPTAIN OF THE DESTROYER USS COMPUTER"
50 PRINT "AN ENEMY SUB HAS BEEN CAUSING YOU TROUBLE. YOUR"
60 PRINT "MISS... |
Attribute VB_Name = "Main_Mod"
Option Explicit
Public Type MOUSE_EVENT_TYPE
Position As D3DVECTOR2
X_Data As Long
Y_Data As Long
X_Movement As Boolean
Y_Movement As Boolean
Left_Click As Boolean
Right_Click As Boolean
End Type
Public Const LOW_HZ As Long = 44100 - 2000
Pu... |
' Test Display
'-----------------------------------------------------------------
' Portbelegung des LCDs an der Open-Mini:
' PTB.0 D4 (Datenleitung des LCDs, 4Bit-Mode)
' PTB.1 D5 (Datenleitung des LCDs, 4Bit-Mode)
' PTB.2 D6 (Datenleitung des LCDs, 4Bit-Mode)
' PTB.3 D7 (Datenleitung ... |
1 %TITLE "Accounts Payable Vendor Maintenance"
%SBTTL "AP_MAIN_VENDOR"
%IDENT "V3.6a Calico"
FUNCTION LONG AP_MAIN_VENDOR(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 so... |
10 :REM'CHASE - 22 JAN 2010
20 CLS:KEY OFF
30 IF EX$=""THEN EX$="exit"
40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$
50 PROG$="chase"
60 COMMON EX$,PROG$
70 :REM'.....title page
80 COLOR 15,2
90 PRINT " PROGRAM NAME"TAB(57)"by George Murphy VE3ERP ";
100 COLOR 7,0
110 :REM'.....start
120 CLS:KEY OFF
130 EX$="exit"
140 PRI... |
'SLUSHIES 3.3
'3.0 20031106
'3.1 20040415
'3.2 20040420
'3.3 20200403
ClrText
Locate 1,1," -------------"
Locate 1,2," ! ! !"
Locate 1,3," ! ! !"
Locate 1,4," SLUSHIES PART 3"
Locate 1,5," ! ! !"
Locate 1,6," ! ! !"
Locate 1,7," -------------"
Do:LpWhile GetKey!=31
File6
ClrText
... |
Operation =1
Option =0
Where ="(((tbl_Point_Counts.Obs_distance_m) Is Null) AND ((tbl_Point_Counts.Flyover)=Fal"
"se) AND ((tlu_Project_Taxa.Species_code)<>'NONE'))"
Begin InputTables
Name ="tlu_Project_Taxa"
Name ="tbl_Sites"
Name ="tbl_Locations"
Name ="qasub_Events_scope_filter"
Name ="tbl_P... |
10 REM 'INPUT' STATEMENT TEST PROGRAM
20 PRINT "ASSIGN A VALUE TO THE VARIABLE X"
30 INPUT X
40 PRINT "THE VALUE OF X IS";X
99 END
|
CLEAR 0,4096
Speicher= FRE("")
Speicher=Speicher-32256*9
Bank=3
CLS
PRINT "f";
WHILE NOT (Knopf=3)
Text$="[0][ Freier Speicher :"+ STR$(Speicher)+" | Speicherbnke :"+ STR$(Bank)
Text$=Text$+"][ < | > | WEITER ]"
MOUSEON
FORM_ALERT (3,Text$,Knopf)
MOUSEOFF
IF Knopf=1 AND Bank>1 THEN
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.