text stringlengths 7 5.36M |
|---|
Version =20
VersionRequired =20
Begin Form
AutoCenter = NotDefault
AllowDeletions = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =2... |
1 REM WUMPUS 1/28/77
2 REM MODIFIED FOR ALTAIR 4K BASIC 10/01
3 REM RECODED -> CHARACTERS, COMPUTED GOTOS, "OR" STATEMENTS, 2-D ARRAY
4 REM COMPUTED LOGICAL STATEMENTS
10 PRINT"WMP23-HUNT THE WUMPUS"
15 PRINT
20 PRINT "INSTRUCTIONS(1=YES OR 0=NO)";
30 INPUT I
35 REM RANDOMIZE
40 IF I<>1 THEN 70
5... |
REM Joshua Hipple - Final - Question 1
REM Read data and compute final salaries.
CLS
GOSUB InitializeHeaders
GOSUB PrintHeaders
GOSUB ProcessDetail
END
REM ** InitializeHeaders **
InitializeHeaders:
LET T1$ = " Calculated Earnings Report"
LET H1$ = " Salesperson Total Earnings"
LET D1$ = " ... |
'$option k100y
DEFINT a-z
'$include f:\hbasic\source\gemaes.bh
LIBRARY "gemaes","gemdos","speedo","falcon","gemvdi","xbios"
WINDOW OFF
CALL vsf_color(8)
path$="C:\*.htm"
file$=""
button=0
primpt$="Select HTML to load..."
CALL fsel_exinput(path$,file$,button,prompt$)
path$=LEFT$(path$,LEN(path$)-5)
IF file... |
OPTION EXPLICIT
OPTION DEFAULT NONE
OPTION BASE 0
OPTION CONSOLE SERIAL
#INCLUDE "../INC/Dummy.inc"
#INCLUDE "../INC/Utility.inc"
#INCLUDE "../INC/Palette.inc"
#INCLUDE "../INC/Sheet.inc"
#INCLUDE "../INC/Box.inc"
#INCLUDE "../INC/Background.inc"
#INCLUDE "../INC/TileEngine.inc"
#INCLUDE "../INC/Frame.inc"... |
Attribute VB_Name = "mod_Func17"
Option Explicit
Private strAuthenticID As String
Private cn As Object
Public Function JustDoIt(ByRef objWebPool As Object, _
ByRef strPara As String) As String
On Error GoTo ChkErr
Dim strQry As String
Dim varPara As Variant
Dim rs... |
;laby.prg ==0801==
1 poke808,225
2 rem arnd liebt petra
10 poke53265,peek(53265)and239
50 poke646,1
60 poke53281,15
70 v=53248:printchr$(147)
80 forss=12288to12799:readq:pokess,q:nextss
100 poke53269,255
110 sa=2040
120 forpa=192to199:pokesa,pa:sa=sa+1:nextpa
130 forx=39to46:pokev+x,6:n... |
5 ' *** STARTUP FOR 80 COLUMN CONFIQURATION. (VALUES FOR RGB MONITOR) ***
7 CLEAR6000:FILES1,1000:FILES2,1000:DIMH$(600),X$(300):RGB:POKE150,41
8 POKE65497,0
9 ON BRK GOTO3000
10 POKE&HE047,0:REM BOARDER COLOR
15 POKE&HFFB8,18:REM TEXT COLOR (GREEN)
20 POKE&HFFB0,0:REM BACKGROUND COLOR (BLACK-SAME AS THE BORDER)
25 F... |
5 RUN 10
10 REM DAMAS
15 LET BLANC=12: LET NEGR=12
20 INVERSE 0: BORDER 4: PAPER 7: INK 0: CLS
30 POKE 23658,8: POKE 23609,75
40 GO SUB 5000
50 GO SUB 4000
1000 REM MOVIMIENTOS DE NEGRAS
1010 INPUT "BLANCA DE:";X;Y
1020 PRINT AT X*2,Y; INVERSE 1;" "
1030 INPUT "BLANCA A:";U;V
1040 INPUT "ES UNA CORO... |
Version =20
VersionRequired =20
Begin Report
LayoutForPrint = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
DateGrouping =1
GrpKeepTogether =1
PictureAlignment =2
DatasheetGridlinesBehavior =3
PictureType =2
GridX =24
GridY =24
Widt... |
10 REM ***********************
20 REM *** ***
30 REM *** SCHLAMMSCHLACHT ***
40 REM *** ***
50 REM ***********************
60 REM
70 GOSUB 1000
80 GOSUB 2000
90 GOSUB 3000
100 END
1000 REM
1010 REM *** VORBEREITUNGEN ***
1020 REM
1030 PRINT "{clear}"
1040 RX=INT(RND(1)*2)+1
1050 RY=INT(R... |
10 REM HIGHER/LOWER
20 @=0;P=100
100 M=1+ABSRND%99;N=ABSRND%100;IF N=M GOTO 100
110 P.$12"I HAVE CHOSEN TWO NUMBERS (0-99)"'
120 P."THE FIRST IS "M''"IS THE SECOND NUMBER"'
130 INPUT"HIGHER (H) OR LOWER (L) "$TOP
140 IF CH$TOP<>CH"H" AND CH$TOP<>CH"L" GOTO 130
150 P."YOU HAVE GOT "P" POUNDS,"'
160 INPUT"HOW MUCH DO YO... |
Attribute VB_Name = "modMatrix"
Option Explicit
Public Const sPIDiv180 As Single = 0.0174533 'PI / 180
Public Function MatrixIdentity() As MATRIX
With MatrixIdentity
.rc11 = 1: .rc12 = 0: .rc13 = 0: .rc14 = 0
.rc21 = 0: .rc22 = 1: .rc23 = 0: .rc24 = 0
.rc31 = 0: .rc32 = 0: .rc33... |
Attribute VB_Name = "lib_elvin"
'===============================================================================
' Модуль : lib_elvin
' Версия : 2023.01.23
' Автор : elvin-nsk (me@elvin.nsk.ru)
' Использован код : dizzy (из макроса CtC), Alex Vakulenko
' и др.
' ... |
10 REM \\\\\RALLY RACER/////
20 REM AUTHOR:D.T.C.BRESLIN
30 REM BYFLEET/SURREY [ESSEX]
40 IF ?#99<>0 W=0;?#99=0
50 GOS.s
60 @=0
70 DIM LL5
80 F.J=0TO20;LL(J)=-1;N.
90 P.421;F.J=1TO2;P=#2800
100P.$21
110[
120:LL0 JSR LL3;LDA #9A;CLC;ADC #9B;STA #9B;STA #3B1F;STA#3A1F
130 JSR #FE71;LDA @0;STA #90
140 CPY @1;BNE LL1
150 ... |
OPTION EXPLICIT
OPTION DEFAULT NONE
OPTION BASE 0
OPTION CONSOLE SERIAL
#INCLUDE "../INC/Dummy.inc"
#INCLUDE "../INC/Utility.inc"
#INCLUDE "../INC/Palette.inc"
#INCLUDE "../INC/Sheet.inc"
#INCLUDE "../INC/Box.inc"
#INCLUDE "../INC/Background.inc"
#INCLUDE "../INC/TileEngine.inc"
#INCLUDE "../INC/Frame.inc"... |
' [FORMWIND.BAS]
' This source document is apart of the ENhanCed Hisoft ApplicatioN toolkiT (ENCHANT)
' Developed by Matthew Bacon & Paul Jones, ½ 1997-1999 Matthew Bacon & Paul Jones
' The files WINDOW.BAS & OBJECT.BAS & XDIALOG.BAS are required to use FORMWIND.BAS
' DECLARE SUB WhichWindow(WindowHandle) ... |
FOR i = 1 TO 3
PRINT i
NEXT
FOR i = 1 TO 1
PRINT i
NEXT i
FOR i = 1 TO 0
PRINT i
NEXT i
FOR i = 1 TO 3
PRINT i
FOR j = i * 10 + 1 TO i * 10 + 3
PRINT j
NEXT j, i
FOR i = 1 TO 3
PRINT i
FOR j = i * 10 + 1 TO i * 10 + 3
PRINT j
NEXT
NEXT
t = 1
s = 1
FOR i = 3 TO t STEP 0 - s
PRINT i
t = ... |
'תתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתת
' Print IT v2.07 ½ 1996,97 Cadenza Software - Written by Matthew Bacon
' HiSoft BASIC GEM Toolkit - Written by Dave Nutkins and Ofir Gal
' ½ Copyright HiSoft 1991-3
'תתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתת... |
GETNUM:
PRINT "Enter an Integer between 2 and 20,000 and"
PRINT "I will tell you if it is a Prime Number"
PRINT "By Jesse N. Richardson"
INPUT NUM
IF NUM - INT(NUM) <> 0 THEN GOTO GETNUM
IF NUM < 2 THEN GOTO GETNUM
IF NUM > 20000 THEN GOTO GETNUM
PRIME = 0
FOR TRY = 2 TO NUM / 2
IF NUM / TRY <> INT(NU... |
' Copyright (c) 1988, 1990, 1994 Crescent Software
DEFINT I-N
DEFDBL A-H, O-Z
DECLARE SUB CUBIC (B1, B2, B3, B4, X1, X2, X3, NROOT)
DECLARE SUB QUADRATIC (C1, C2, C3, X1, X2, NROOT)
SUB QUARTIC (A1, A2, A3, A4, A5, Q1, Q2, Q3, Q4, NROOT) STATIC
' Solution of the quartic equation subroutine
' A1 * X^4 + A2 ... |
'HecaTomb II
'===========
'
'Copyright 1997 Philip Blyth
'
'Licensed under the Apache License, Version 2.0 (the "License");
'you may not use this file except in compliance with the License.
'You may obtain a copy of the License at
'
'http://www.apache.org/licenses/LICENSE-2.0
'
'Unless required by applicable law or agr... |
Operation =1
Option =0
Where ="(((dbo_ProjectHeader.DocketNum) Is Not Null) AND ((dbo_ProjectHeader.InvoiceNum)"
" Is Null))"
Begin InputTables
Name ="dbo_ProjectComponentStock"
Name ="dbo_ProjectComponentHeader"
Name ="dbo_ProjectHeader"
Name ="dbo_ContactGeneral"
Name ="tmpPurchasingStock"
... |
DEFINT A-Z
'$INCLUDE: 'mylib.bi'
DECLARE SUB ShowPCX (file$)
DIM OldX, OldY
DIM NewX, NewY
'$DYNAMIC
DIM img(0) AS INTEGER
DIM Bak(0) AS INTEGER
SCREEN 13
MouseInit
IF LEN(COMMAND$) THEN ShowPCX COMMAND$
XorLine OldX, OldY
DO
NewX = MouseX%
NewY = MouseY%
IF OldX <> NewX OR OldY <> NewY THEN
XorL... |
NEW
100 REM MC10 LRI VIEWER
110 CLEAR 1024:DIM D(50)
120 FOR I=1 TO 7:READ F(I):NEXT:DATA 32,48,96,0,80,16,64
150 CLS:INPUT "FILENAME";N$:IF N$="" THEN END
155 IF N$="*" THEN N$=""
160 CLOAD*D,N$
200 CLS 0:C=0:F=0:N=0:L=8:PRINT@L,
210 FOR I=0 TO 255:G=PEEK(VARPTR(D(0))+I):IF G=0 THEN 300
220 G=G-48:IF G<0 THEN... |
0 REM ************************
1 REM * - CCESOFT - *
2 REM *OTTO LONGO SERNATINGER*
3 REM * VERSAO 1.1 05/85 *
4 REM ************************
5 REM * TRIANGULOS *
6 REM ************************
10 HOME
20 PRINT : PRINT TAB( 11)"- CCESOFT -": INVERSE : PRINT : PRINT TAB( 8)"AREA DE TRI... |
DECLARE SUB ku (kuz%, ku1%, ku2%)
DECLARE SUB lt (lue$, lukux%)
DECLARE SUB colchk (colre%)
'$DYNAMIC
'$INCLUDE: 'mhm2k.bi'
DIM pelki(1 TO 20) AS INTEGER
OPEN "data\pelkiel.m2k" FOR INPUT AS #1
FOR zz = 1 TO 18
INPUT #1, pelki(zz)
NEXT zz
CLOSE #1
curso = 1
kurso = 1
DO
CLS
LOCATE 25, 1: PRINT cu... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
ScrollBars =0
TabularFamily =115
PictureSizeMode =... |
1 REM This is the PC-BASIC conversion from commodore
10 COLOR 10,0:PRINT"██████";:COLOR 10,0:PRINT"███";:COLOR 2,0:PRINT"██████████";:COLOR 11,0:PRINT"P█O█N█Y█L█I█S█T█!█████████████████████████▀";:COLOR 10,0:PRINT"█████";:COLOR 11,0:PRINT"██████████■▀"
16 REM *** Open episodes.txt. We are using a modified version of th... |
print "Hi I am Vikrant Rana, your friend."
print "What is your name pal?"
input $1
cls
if $1 = "nikita" then goto nikki
if $1 = "Nikita" then goto nikki
if $1 = "nikita singla" then goto nikki
if $1 = "Nikita Singla" then goto nikki
if $1 = "vikrant" then goto vik
if $1 = "Vikrant" then goto vik
if $1 = "vikrant rana" ... |
* ENCODING=ISO-8859-1
NAME instances/miplib3/l152lav.pre.mps.gz Iterations 422 Rows 97 Cols 1990
XL CO100001 NEQ
XL CO100002 IDECTM
XL CO100003 LI100001
XL CO100015 LI100002
XL CO100028 LI100003
XL CO100031 LI100004
XL CO101237 LI100005
XL CO100052 LI100006
XL CO100053 LI10... |
# Compute first few fibonacci numbers
# R0 - F1
# R1 - F2
# R2 - F3 (tmp)
# R3 - Limit = 100
# R4 - Jump to nextFib
LOADI R0 1
LOADI R1 1
LOADI R3 100
LOADI R4 nextFib
nextFib:
OUTPUT R1
MOV R2 R0
ADD R2 R1
MOV R0 R1
MOV R1 R2
# Check if end (is number bigger than 100?)
CMP R1 R3
JUMP IF SIGN R4
# Els... |
10 'Построение линейчатых поверхностей ("ruled surface")
20 INPUT"i0,i1,h";I0,I1,H:INPUT"j0,j1";J0,J1
45 COLOR1,15,1:SCREEN2
50 'Лист Мебиуса.Начальные данные:{0,6.28,.0628,-20,20}
60 DEFFNX(U,V)=COS(U)*(50+V*COS(U)):DEFFNY(U,V)=SIN(U)*(50+V*COS(U)):DEFFNZ(U,V)=V*SIN(U)
90 'Геликоид. Начальные данные:{-.7,6,.12,-4... |
10 ADDR=1024:s$="this is a test bitch" :rem 7
20 PRINT "{clear}"s$ :rem 61
25 PRINT "code";TAB(5);"";TAB(8);"asc"
30 FOR X=1 TO 20 :rem 24
40 A=PEEK(ADDR+X-1) :rem 84
50 A$=mid$(s$,X,1)
60 PRINT A;TAB(5);A$;TAB(8);ASC(A$) :rem 207
70 NEXT X |
' [CLIPMATE.BAS]
' Developed by Matthew Bacon, ½ 1999 Matthew Bacon
' Published by Cadenza Software
'תתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתתת
DEFINT a-z
REM $include D:\CADENZA\CLIPMATE\clipmate.bh ' Declare *.BH file created from resource file
REM $include D:\ENCHANT\... |
10 REM *** AN ECOSYSTEM SIMULATION ***
11 REM BASED ON THE LOTKA-VOLTERRA EQUATIONS (SEE WIKIPEDIA)
12 REM ANTTI YLIKOSKI 05-08-2007
14 REM THIS VERSION FOR THE QB64 BY AJY 2013-03-03
16 REM ANTTI YLIKOSKI 2016-12-22 SKROLLI-LEHDELLE
20 REM THE PROGRAM SIMULATES AN ECOSYSTEM WITH M PREY ANIMALS
22 REM AND N PRE... |
10 REM CALL SUBROUTINE IN #82
20 ?18=#82
30 GOSUB 10
40 REM PROVE YOU'RE BACK
50 PRINT"TEXT AREA TWO"'
60 GOSUB 10
70 ?18=#83;REM BACK FOREVER
80 END
|
@ERASE
0 REM Line $1 device address
0 REM when we loose a connection, we try to connect to the
0 REM same device 5 times and then we start inquirying again
1 0050C2585000
0 REM Line $2 stores the name filter
0 REM 2 AIRcable
2
0 REM Line $3 stores the address filter
0 REM example: 3 0050C2
0 REM all a... |
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... |
1 %TITLE "Purchase Order Aged Cash Requirements"
%SBTTL "PO_RPRT_AGECASHREQ"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1988 BY
!
! Computer Management Center, Inc.
! Idaho Falls, Idaho.
!
! This software is furnished under a license and may be used and
! copied only in accordance with terms of such license and... |
3010 ON kb(x) - 19 GOTO 3020, 3030, 3040, 3050, 3060, 3090
3020 sh = sh - 12: GOSUB 3060: RETURN
3030 sh = sh + 12: GOSUB 3060: RETURN
3040 sh = sh - 1: GOSUB 3060: RETURN
3050 sh = sh + 1: GOSUB 3060: RETURN
3060 lh = 12: GOSUB 6200: PRINT TAB(36); sh - 104; "": RETURN
3070 IF v = 0 THEN RETURN
3080 v = v - 1: ... |
1 %TITLE "Period Ledger List"
%SBTTL "JC_RPRT_PERLED"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1987, 1988, 1989 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
! th... |
REM File: .bas
REM Data:
REM Programmer: Yuriy Lomako
REM Description:
REM -------------------------------------------------------------------
REM Недавно Петя поведал Васе о хитром способе возведения в квадрат
REM натуральных чисел, оканчивающихся на цифру 5.
REM Теперь Вася может с легкостью возводить в квадрат дв... |
start:
l$ = INKEY$
SELECT CASE l$
CASE CHR$(27)
END
CASE CHR$(65)
GOTO player
CASE CHR$(66)
GOTO player
CASE CHR$(67)
GOTO player
CASE CHR$(68)
GOTO player
CASE CHR$(69)
GOTO player
CASE CHR$(70)
GOTO player
CASE CHR$(71)
GOTO player
CASE CHR$(97)
GOTO player
CASE CHR$(98)
GOTO player
CASE CHR$(9... |
1 'Example 2 of PAINT statement
10 SCREEN 8
20 DRAW "C5":'Set color to magenta
30 DRAW "F60 L120 E60":'Draw a triangle in magenta
40 DRAW "BD30":'Move down to inside of triangle
50 TEXTURE$ = CHR$(&55) + CHR$(&55) + CHR$(&55) + CHR$(&55)
60 TEXTURE$ = TEXTURE$ + TEXTURE$:'Create texture pattern
70 PAINT STEP (+0, +5)... |
Version =20
VersionRequired =20
Begin Form
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
ScrollBars =2
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =10434
DatasheetFontHeight =11
ItemSuffix =66
Le... |
1 %TITLE "Convert from RSTS/E to VMS"
%SBTTL "PC_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... |
Version =20
VersionRequired =20
PublishOption =1
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
TabularCharSet =238
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridY =10
Width =4793
DatasheetFontHeight... |
RANDOMIZE TIMER
SCREEN 12
s = 9
DIM terrain(50, 50)
DIM road(50, 50)
DIM inrange(50, 50)
DIM inrangech(50, 50)
DIM xc(8)
DIM yc(8)
xc(1) = 0
xc(2) = 1
xc(3) = 1
xc(4) = 1
xc(5) = 0
xc(6) = -1
xc(7) = -1
xc(8) = -1
yc(1) = -1
yc(2) = -1
yc(3) = 0
yc(4) = 1
yc(5) = 1
yc(6) = 1
yc(7) = 0
yc(8) = -1
FOR i = 1 TO 50
FOR... |
CLS
SCREEN 12
SCR=0
AM=40
TIM=60
Z$="DEFAULT"
LET A=30
LET B=30
LET X=320
LET Y=200
D=2.5
E%=12
DIM BALL%(1000)
DIM TARGET%(10000)
FOR I=15 TO 1 STEP-0.1
FOR LJ=1 TO I STEP+2
CIRCLE(100,100),LJ,INT(RND*15)
NEXT LJ... |
DIM FIB(100)
FIB(1) = 1
FIB(2) = 1
FOR I = 3 TO 100
FIB(I) = FIB(I - 1) + FIB(I - 2)
NEXT I
FOR I = 1 TO 100
PRINT FIB(I)
NEXT I |
100 ' CMD PAL sample
110 SCREEN 0,0:CLS 3:CMD PAL
120 FOR X=0 TO 560 STEP 80
130 LINE(X,0)-(X+79,199),X/80,BF
140 NEXT X
150 FOR CR=0 TO 511
160 CMD PAL (CR MOD 8),CR
170 FOR I=1 TO 100:NEXT I
180 NEXT CR
190 CMD PAL
200 END
|
rem This is test #1
' This is test #2
:rem This is test #3
: ' This is test #4
rem $include "./include.dat"
' $include "./include.dat"
:rem $include "./include.dat"
:' $include "./include.dat"
A = B + C
A = B - C
A = B * C
A = B / C
A = B \ C
A = B ^ C
A = B & C
A = B | C
A = B && ... |
atom=H
contraction shell=S num_primitives=2 num_coefficients=1
0.434473E+01 0.934643E-01
0.660487E+00 0.500000E+00
contraction shell=S num_primitives=1 num_coefficients=1
0.136687E+00 1.0000000
contraction shell=S num_primitives=1 num_coefficients=1
0.341720E-01 1.0000000
atom=He
contraction shell=S num_primitives=2 nu... |
1 LET L=0:LET W=O:LET R1=0:LET P1=0
2 LET O1=0:LET M3=0:LET M4=0
3 LET P2=0:LET T1=0:LET T2=0
5 REMARKABLE PROGRAM BY L. CRAM, L. GOODIE , AND D. HIBBARD
6 PRINT "DO YOU WANT DESCRIPTIONS (0=YES, 1=NO)";
7 INPUT Z
9 FOR U=1 TO 6
10 PRINT
11 NEXT U
13 IF Z=1 THEN 100
15 PRINT "THIS IS A CIVIL WAR SIMULATION."
20 PRINT "... |
Attribute VB_Name = "modCAD"
Option Explicit
Private Const sPIDiv180 As Single = 0.0174533 'PI / 180
Private Const ApproachVal As Double = 0.000001
Public Const Mag As Single = 0.15 'Point rectangle magnitude
Public Type POINT
X As Single
Y As Single
End Type
Public Type tLIN... |
'********* Wipes.Bas - demonstrates various text screen wipes and fades
'by Don Malin
'Copyright (c) 1988 Crescent Software
DEFINT A-Z
'----- BASIC subprograms
DECLARE SUB CloseCurtain (Orig(), El)
DECLARE SUB Dissolve (Scr(), El)
DECLARE SUB Dissolve2 (UlRow%, UlCol%, LrRow%, LrCol%, Scr%(), El%)
DECLARE SUB Explo... |
1 %TITLE "AR Aging Report"
%SBTTL "AR_RPRT_AGE01"
%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 inclusio... |
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools
===============================================================================
FILE: Virus.MSWord.Dig
Type: OLE
-------------------------------------------------------------------------------
VBA MACRO ThisDocument.cls
in file: Virus.MSWord.Di... |
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... |
5 LET A = 5
10 FOR I = 1 TO 10
15 LET A = A * 10
20 PRINT I, A
30 NEXT I
99 END
|
10 open 2,8,2,"ml file1,p,r"
20 open 3,8,3,"ml file2,p,w"
30 get#2,x$,x$
40 print#3,chr$(0)chr$(192);
50 get#2,x$:if x$="" then x$=chr$(0)
60 s=st:print#3,x$;
70 if s=0 goto 50
80 close 2:close 3 |
0 REM ************************
1 REM ** - CCESOFT - **
2 REM ** FELIPE ABRAMVEZT **
3 REM ** VERSAO 1.1 05/85 **
4 REM ************************
5 REM ** SOME SOUNDS **
6 REM ************************
9 REM ..........CONFECCIONA MENU..........
10 HOME
11 PRINT TAB( 11);"- CCESOFT -"
12 PRIN... |
Attribute VB_Name = "modGraphics"
Option Explicit
Public Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Public Sub UpdateGraphics2() 'draws GFX to screen when on the world map/world map editor
cycleCount = cycleCount + 1
If FrameSkip = True Then
If GetTickCount + Int(... |
DIM X, RT AS DOUBLE
PRINT "CALQL8OR" + CHR$(13) + CHR$(10)
FOR X = 1 TO 10000: NEXT X
PRINT "a program written in QBASIC by William Ambrose" + CHR$(13) + CHR$(10)
FOR X = 1 TO 8000: NEXT X
PRINT "valid operators are +, -, * for multiplication, / for division, \ for"
FOR X = 1 TO 4000: NEXT X
PRINT "integer divis... |
atom=Sc
contraction shell=S num_primitives=1 num_coefficients=1
0.14496 1.0
contraction shell=P num_primitives=1 num_coefficients=1
0.18964 1.0
contraction shell=D num_primitives=1 num_coefficients=1
0.33836 1.0
contraction shell=F num_primitives=1 num_coefficients=1
0.04169 1.0
contraction shell=G num_primitives=1 num... |
100 REM SOLID ANGLE OF SPHERICAL POLYGON
110 REM FROM DISTANCES, RD, AND DIRECTIONS, TD (IN DEGREES)
120 REM R. WELEVER AND W. TOBLER 14 NOV 1985
130 REM PROGRAMMED ON AT&T PC 6300 IN GWBASIC/D (DOUBLE PRECISION)
140 REM FOR IBM PC USE BASICA/D
150 DEFDBL A,D,E,P,R,T,X,Y
160 PI=3.141592653589793#
165 N=11:GOTO 180:REM ... |
SCREEN _NEWIMAGE(800, 600, 32)
RANDOMIZE TIMER
TYPE object
x AS SINGLE
y AS SINGLE
xv AS SINGLE
yv AS SINGLE
size AS INTEGER
c AS _UNSIGNED LONG
END TYPE
DIM SHARED o(130) AS object
DIM SHARED i AS INTEGER
'initialize array
FOR i = 1 TO UBOUND(o)
o(i).x = RND * _WIDTH
o(i).y = RND * ... |
10 ' MODEL 100 BUSINESS CALCULATOR
20 ' Version 01.00.00
30 ' Copyright 1983 Tandy Corporation
40 ' All rights reserved
100 CLS
110 PRINT@80,CHR$(27);"p TRS-80 Model 100 Software "
120 LINE (0,13)-(239,13)
130 LINE (0,15)-(239,15)
140 LINE (0,25)-(239,25)
150 PRINT @165,CHR$(27);"qBusiness Calculator 01.0... |
10 PRINT TAB(30); "ROCKET"
20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
30 PRINT:PRINT:PRINT
70 PRINT "LUNAR LANDING SIMULATION"
80 PRINT "----- ------- ----------": PRINT
100 INPUT "DO YOU WANT INSTRUCTIONS (YES OR NO)";A$
110 IF A$="NO" THEN 390
160 PRINT
200 PRINT"YOU ARE LANDING ON THE MOON... |
10 :REM'BINARY - R.J.Dehoney 1/19/07
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,0
100 PRINT " Decimal to Binary Converter"TAB(61)"by R.J.Dehoney IEEE ";
110 COLOR 1,0:PRINT STRING$(80,223);
120 COLOR 7,0... |
FUNCTION DaySuffix$ (day)
day$ = STR$(day)
suffix$ = "th"
IF day < 11 OR day > 19 THEN
SELECT CASE VAL(RIGHT$(day$, 1))
CASE 1
suffix$ = "th"
CASE 2
suffix$ = "nd"
CASE 3
suffix$ = "rd"
END SELECT
END IF
DaySuffix$ = day$ + suffix$
END FUNCTION |
# Computes the square root of a number
#1834817011
000 LET A = 3366553463854974121
010 LET C = 1
020 LET B = C
030 LET C = C * 2
040 IF C * C > 0 THEN GOTO 020
050 LET Z = 0
060 LET Y = Z + B
070 IF Y * Y > A THEN GOTO 090
080 LET Z = Y
090 LET B = B / 2
100 IF B > 0 THEN GOTO 060
110 PRINT Z
|
REM @english
REM OTHER CONTRIBUTIONS NABOO N1 STARFIGHTER
REM
REM This is a renderer for the data file produced by the converter from Blender Freestyle SVG
REM (Scalable Vector Graphics) into sequential files. The file is stored on the host file
REM system, then loaded and used by ugBASIC to initialize the array... |
50 REM *** LOCOMOTIVE ***
100 M = 54272
110 FOR Z = 54272 TO 54296 : POKE Z,0 : NEXT
120 FOR J = 1 TO 40
130 POKEM + 24,15
140 POKE M + 5,8
150 POKE M+ 1,20
160 POKE M + 4, 129
170 FOR Q = 1 TO 50 : NEXT Q
180 POKEM + 4,128
190 NEXT J
200 POKE M + 24,0 |
LET X = 12.3
PRINT USING "ABC ###.### DEF";X
|
5 CLS
PRINT "INTRODUEI UN NOMBRE"
INPUT A$
PRINT "INTRODUEIX UN ALTRE NOMBRE"
INPUT B$
PRINT "INTRODUEIX UN ALTRE NOMBRE"
INPUT C$
PRINT "BUSCA EL NOMBRE "; A$ + B$ + C$
INPUT D$
IF D$ = A$ + B$ + C$ THEN 10
PRINT "SI NO TENS CODIS NO POTS JUGAR"
A$ = INPUT$(1)
GOTO 5
10 SCREEN 13
CLS
LOCATE 9, 13
PRINT... |
Attribute VB_Name = "modmain"
Option Explicit
Private lscript() As levelcmd
Private ncmd As Long
Private scripts() As aiscript
Private nscripts As Long
Dim line_number As String
Private Const LVLINSTR_NULL = 0
Private Const LVLINSTR_MESSAGE = 1
Private Const LVLINSTR_SPAWN = 2
Private Const LVLINSTR_END = 3
Private... |
1 'Example of CVS function
10 OPEN "R",11,"TEST.TXT":'Open TEST.TXT for random access
20 FIELD 11,20 AS FNAME$,4 AS LUCKY$:'Define the fields
30 LINE INPUT "ENTER YOUR NAME";A$
35 LSET FNAME$ = A$:'Left-justify the name
40 INPUT "ENTER YOUR AGE";N
50 RSET LUCKY$ = MKS$(N):'Convert numeric input to 4 -byte string repres... |
25000 'Exercise 5-1: Three surfaces of revol**
25010 'Indices (1) simple harmonic motion
25011 '(2) paraboloid
25012 '(3) concave up hemisphere
25020 SCREEN 1: COLOR 0,2: KEY OFF: CLS
25030 DT = .04: G=1: D=1
25040 K=1: K2=K^2: C=K2/2: A=K2/G
25050 MU = 0.2
25055 GOSUB 25500: GOSUB 25600
25060 FOR I=1 TO 3: R(I)=0.5: ... |
10 :REM'COAXSTUB - Stubs for Coaxial Lines - 03 JUN 96 rev. 05 SEP 2009
20 CLS:KEY OFF
30 IF EX$=""THEN EX$="EXIT"
40 IF PROG$=""THEN GO$=EX$ :ELSE GO$=PROG$
50 COMMON EX$
60 COLOR 7,0,1
70 ON ERROR GOTO 100
80 GOTO 130
90 :REM'
100 IF ERR=1 AND ERL=1480 THEN COLOR 7,0:RESUME 1800
110 BEEP:PRINT "Error";ERR;"in line";... |
1 %TITLE "Product Yield Report"
%SBTTL "WP_RPRT_ANDREA"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1994 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 inclusio... |
10 REM TEST OPEN OUTPUT
20 OPEN "output.txt" FOR OUTPUT AS #1
30 PRINT #1,"OUTPUT FILE"
40 PRINT #1,10;20;30
50 PRINT #1 "END"
60 CLOSE #1
99 END
|
1000 '= Put Line-Num to
1010 '= Numberless BASIC Source
1020 '= &
1030 '= Convert Labels into Line-Num
1040 '= Ver 1.4.0 (c) 1993,1995,2019 molety
1050 '
1060 '== INIT
1070 MAXFILES=2:CLEAR5000
1080 ONERRORGOTO3410
1090 ONSTOPGOSUB3760:STOPON
1100 SCREEN0:WIDTH40:KEYOFF:CLS
1110 DEFINTA-Z
11... |
' Module2
Option Explicit
Function fn1640 () As Variant
Dim l0040 As Variant
Dim l0046 As Variant
Dim l004C As Variant
Dim l0050 As Variant
Dim l0056 As Variant
Dim l005C As String
Dim l0062 As Variant
Dim l0066 As Variant
Dim l006A As Variant
Dim l006E As Variant
Dim l0072 As Variant
Dim l0076 As Variant
Dim l007A As... |
10 REM Print Registers on BRK
30 DIM K(6),AA(1),A(8),P(-1)
35 B=?#202+256*?#203
40 ?16=A;?17=A&#FFFF/256;$A="GOTO150"
45[
50:AA0 STA K+2; STX K+3
60 PLA; STA K+6; PLA; STA K
80 PLA; STA K+1
90 STY K+4; TSX; STX K+5
100 JMP B
110]
120 REM INSTALL BRK ROUTINE
130 ?#202=AA0; ?#203=AA0&#... |
'GEOMETRY LANDSCAPE
STARTOFSTARTS:
CLS
SCREEN 12
COLOR 15, 3
LET DRILL$ = "R3 L6 G5 R16 H5 F5 L5 D10 L6 U10 D10 R3 D8 L10 R20"
LET MISS$ = "C15 U10 E3 F3 D10 L6 G5 D5 E5 R6 F5 U5 H5 BD3 P2,15 BL3 BU10 P6,15"
LET NOMISS$ = "C3 U10 E3 F3 D10 L6 G5 D5 E5 R6 F5 U5 H5 BD3 P3,3 BL3 BU10 P3,3"
LET PARA$ = "C15R5F10L25... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =8884
DatasheetFontHeight =11
ItemSuffix =1
Right =8970
Bottom =12345
Data... |
'
' Easy-Windows.
' Programme de d‚monstration No 2.
' G‚rer plusieurs fenˆtres graphiques.
'
' ½ P-Jean Goulier (Annybal) & Start Micro / 1994.
'
CLEAR 200000
Easy_Init
Win_Getwork(Desktop%L,Xdesk%L,Ydesk%L,Wdesk%L,Hdesk%L)
Gwin_Open(F1%L,Xdesk%L,Ydesk%L,Wdesk%L\2,Hdesk%L,"FENETRE 1","Des cercles.... |
10 CLEAR 28671
20 BORDER 0: PAPER 0: INK 4: CLS
40 LOAD "" CODE 28672
60 RANDOMIZE USR 28672
|
#autoline 10
; tilemap
; Created by QuietBloke 2020
;
; #define C=3
RUN AT 3: ; May as well use all that processor power
BANK NEW iobank
LOAD "IO.bas" BANK iobank
BANK NEW tilebank
LOAD "tile.bas" BANK tilebank
BANK iobank PROC InitKeyboard()
PROC InitDisplay()
BANK tilebank PROC TileOpen()
BAN... |
DECLARE SUB info () : DECLARE SUB xwrite () : DECLARE SUB plan ()
info 'by Philipp Lenssen 96
CONST sp = .1, fo = 4, ba = 3, rad = 15, ml = 50, scg = 23, tyg = 13
DIM skl%(300), lt1%(300), lt2%(300), lt3%(300), lt4%(300), lt5%(300), lt6%(300)
DIM lt7%(300), c%(500), blp%(1000), shl%(70), fr1%(90), fr2%(90), fr3%(90)
D... |
3 PRINT TAB(33);"CHEMIST"
6 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
8 PRINT:PRINT:PRINT
10 PRINT "THE FICTITIOUS CHECMICAL KRYPTOCYANIC ACID CAN ONLY BE"
20 PRINT "DILUTED BY THE RATIO OF 7 PARTS WATER TO 3 PARTS ACID."
30 PRINT "IF ANY OTHER RATIO IS ATTEMPTED, THE ACID BECOMES UNSTABLE"
40 PR... |
'VisTAI v0.30b
'Copyright 2008 Electrokinesis Studios
'Do not distribute
DIM SHARED game AS STRING
DIM SHARED gfx AS STRING
DIM SHARED char AS STRING
DIM SHARED room AS STRING
DIM SHARED savedgame AS STRING
DIM SHARED rmtitle AS STRING
DIM SHARED maxpoints AS INTEGER
DIM SHARED points AS INTEGER
DIM SHARED inverr AS IN... |
1 %TITLE "Country, State and County"
%SBTTL "UTL_MAST_COUNTRY"
%IDENT "V3.6a Calico"
!
! COPYRIGHT (C) 1989 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 SCREEN 1: KEY OFF: DEFINT A-Z: DIM C(16): CLS
20 FOR I=1 TO 15: C(I)=2^(15-I): NEXT I: C(0)=&H8000
30 N=8: X0=104: Y0=83: GOSUB 100
40 N=8: X0=104: Y0=100: GOSUB 100
60 WHILE INPUT$(1)="": WEND
70 CLS: SCREEN 0: WIDTH 80: END
100 WHILE N>0: N=N-1
110 FOR Y=0 TO 15: READ D: IF D=0 THEN GOTO 140
120 FOR X=0 TO... |
00 rem init multi-colour mode
10 sc=12:pc=6
20 for i=1024 to 2023
30 poke i,sc+pc*16
40 next
50 for i=8192 to 16191
60 poke i,0
70 next i
80 rem poke 53265, peek(53265) or 32
90 rem poke 53272, peek(53272) or 8
100 rem poke 53270, peek(53270) or 16
999 rem draw point
1000 def fn p(zz)=8192+int(x/8)*8+int(y/8)*320+(y a... |
10 TEXT : HOME : POKE 245,65: REM SEMIGRAPHICS 4
20 CENTER = 8:RIGHT = 4:DOWN = 2:CHAR = 128
30 WALL = CENTER + DOWN:ALLOWED = 3
40 ON RND (1) * ALLOWED GOTO 60,70: REM NEXT WALL PIECE WILL GO RIGHT-, DOWN- OR LEFTWARDS?
50 PRINT CHR$ (CHAR + WALL);:WALL = CENTER + RIGHT:ALLOWED = 2: GOTO 40
60 PRINT CHR$ (CHAR + WALL)... |
Attribute VB_Name = "modPricingFuncs"
Option Compare Database
Option Explicit
Private Const THIS_NAME As String = "modPricingFuncs"
'VGC 03/23/2017: CHANGES!
'Private Const FT_ELEMS As Integer = 2 ' ** Array's first-element UBound().
'Private Const FT_ID As Integer = 0 ' ** priceimport_id.
Private Const... |
100 ' CMD SING sample
110 CMD SING "X0T130O5L4"
120 A$="GB-2O6CD4.E8DC2O5AF4.G8A"
130 B$="O6F2F8.R16F4.E8DC2O5AF4.G8A"
140 CMD SING A$+"B-2GG4.F+8GA2F+D2"
150 CMD SING A$+"B-4.A8GF+4.E8F+G2G8.R16G2."
160 CMD SING B$+"B-2GG4.F+8GA2F+D2."
170 CMD SING B$+"B-4.A8GF+4.E8F+G2G8.R16G2."
180 END
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.