text stringlengths 7 5.36M |
|---|
Symbol T300 = 3313 NO_LIST
Symbol N300 = 3313 + $4000 NO_LIST
Symbol T600 = 1646 NO_LIST
Symbol N600 = 1646 + $4000 NO_LIST
Symbol T1200 = 813 NO_LIST
Symbol N1200 = 813 + $4000 NO_LIST
Symbol T2400 = 396 NO_LIST
Symbol N2400 = 396 + $4000 NO_LIST
Symbol T4800 = 188 NO_LIST
Symbol N4800 = 188 + $... |
Version =21
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
DefaultView =0
ScrollBars =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =20790
D... |
5 PRINT
10 PRINT "SOLITAIRE CHECKER PUZZLE BY DAVID AHL"
15 PRINT
20 PRINT "48 CHECKERS ARE PLACED ON THE 2 OUTSIDE SPACES OF A"
25 PRINT "STANDARD 64-SQUARE CHECKERBOARD. THE OBJECT IS TO"
30 PRINT "REMOVE AS MANY CHECKERS AS POSSIBLE BY DIAGONAL JUMPS"
35 PRINT "(AS IN STANDARD CHECKERS). USE THE NUMBERED BOARD TO"
4... |
100 ' INPUT# sample
110 OPEN "ANIMAL.DAT" FOR INPUT AS #1
120 IF EOF(1) THEN END
130 INPUT #1,A$
140 PRINT A$
150 GOTO 120
160 END
|
' usingDemo.bas -- Bill Jennings, April 2002
' Format a number with non-numerics
fmat$="£µ§®$ ##,###,###,###,###,###,###.## ¢"
'numbers to be formatted:
DATA 22222222222222229999 'large whole number
DATA -12345678912.4567 'typical rounding
DATA -123456789123.4567 'minus sign s... |
REM File: .bas
REM Data: 24-01-17
REM Programmer: Yuriy Lomako
REM Description: sosdajet massiv is 10 cisel, read-data, i raspeciativaijet
REM -------------------------------------------------------------------
CLS
sisearray = 10
DIM a(sisearray)
DATA 5,8,25,10,1,6,32,45,115,62
FOR i = 1 TO sisearray
READ a(i)
NEXT... |
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools
===============================================================================
FILE: Virus.MSExcel.Acute.c.xls
Type: Text
-------------------------------------------------------------------------------
VBA MACRO Virus.MSExcel.Acute.c.xls
in fi... |
1 %TITLE "Check Reconciliation Control File"
%SBTTL "CK_CNTR_CONTROL"
%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 ... |
Version =20
VersionRequired =20
Begin Form
AllowFilters = NotDefault
RecordSelectors = NotDefault
NavigationButtons = NotDefault
AllowDeletions = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowEdits = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
... |
DIM arr$(110000)
OPEN "G:\ICS4\schedule\scheduler\Newsched.txt" FOR INPUT AS #1
OPEN "G:\ICS4\schedule\scheduler\bigboi.txt" FOR OUTPUT AS #2
count = 0
FOR i = 0 TO 103470
PRINT i
IF count = 0 THEN
INPUT #1, person$
ELSE
INPUT #1, temp$
END IF
IF temp$ = person$ THEN
count = ... |
#PBFORMS CREATED V2.01
'------------------------------------------------------------------------------
' The first line in this file is a PB/Forms metastatement.
' It should ALWAYS be the first line of the file. Other
' PB/Forms metastatements are placed at the beginning and
' end of "Named Blocks" of code that should ... |
REM Basic program for color connectives display, here as in Chapter 3,
REM Fig 23
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, Bradford Books/
REM MI... |
10fori=0to1000:a=i/3.65:next
20a=5:if a-1<>0 then print "yeah!" |
10 PRINT "THIS IS A SHORT PROGRAM."
20 END
|
'$INCLUDE:'spritetop.bi'
CONST NUMBARRELS = 100
DIM barrels%(NUMBARRELS)
DIM barrel%
DIM dksheet%
DIM count%
DIM background&
SCREEN _NEWIMAGE(800, 600, 32)
CLS
RANDOMIZE TIMER
background& = _LOADIMAGE("backg.png", 32)
dksheet% = SPRITESHEETLOAD("dkong.png", 64, 64, _RGB(0, 255, 0))
barrel% = SPRITENEW(dksheet%, 38, ... |
Attribute VB_Name = "mShips"
'---------------------------------------------------------------------------------------
' Module : mShips
' DateTime : 4/12/2005 12:21
' Author : Shane Mulligan
' Purpose : Ship physics and drawing
'----------------------------------------------------------------------------... |
SCREEN 12
RANDOMIZE TIMER
CLS
PRINT " Tippen lernen fr absolute LOOSER (Dumpfbacken)"
PRINT " ->also Versager, so richtig dumme Menschen der Kategorie Dreck..."
PRINT " --- Wenn du denkst, du bist dumm genug, dann drcke Enter! ---"
PRINT " falls du NOCH DMMER bist d... |
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p.
10 'Dust Fractal, Backtracking
20 'Name: DUSTB
30 SCREEN 12, 0, 0, 0: CLS
40 WINDOW (-1.1, -1)-(2.1, 1.4)
45 COLOR 15: LOCATE 1, 1: PRINT "Dust fractal of two rotations, backtrack method"
50 p = 11: DIM x1(p), y1(p), x2(p), y2(p)
60 a = .5: ... |
1 'Example of CLS statement
10 CLS #0:'Clear screen of primary video (could be COM1 if video card is not present)
20 CLS:'Save as CLS #0
30 CLS #1:'Clear terminal connecting to COM1
|
10 COLOR 1,15,8:SCREEN3
20 FOR K=0 TO 15:CIRCLE(128,95),127-8*K,K,,,.7:PAINT(128,95),15-K,K:NEXT
60 GOTO 60
|
#COMPILE EXE
#DIM ALL
#DEBUG ERROR ON
'
' Contact Simulator
'
#TOOLS OFF
'
#IF %DEF(%PB_CC32)
#CONSOLE OFF
#ENDIF
' include the common display library
#INCLUDE "win32api.inc"
'
' define UDT for Polygons
TYPE PolyPoint
x AS SINGLE
y AS SINGLE
END TYPE
' Polygon array for houses
TYPE PolyArray
count AS LONG
xy(1 ... |
'********** Scroll.Bas - demonstrates the four QuickPak scroll routines
'Copyright (c) 1988 Ethan Winer
DEFINT A-Z
DECLARE SUB ScrollU (ULRow, ULCol, LRRow, LRCol, Lines, Page)
DECLARE SUB ScrollD (ULRow, ULCol, LRRow, LRCol, Lines, Page)
DECLARE SUB ScrollL (ULRow, ULCol, LRRow, LRCol, Lines, Page)
DECLARE SUB Scro... |
' MAILBOX.FRM
Option Explicit
Sub Command3D1_Click ()
Dim l001C As Variant
Dim l0022 As Variant
Dim l0026 As String
Dim l002A As Variant
Dim l002E As Variant
Dim l0036 As Variant
Dim l003C As Variant
Dim l0040 As Variant
Dim l0044 As Variant
Dim l0048 As Variant
Dim l004C As String
Dim l004E As Variant
Dim l0052 As Va... |
'actualiza archivo de personal-pre-Medstorm a Medstorm version 1.00
CLS
DIM Apellidos AS STRING * 20, Nombres AS STRING * 20, Cedula AS STRING * 10, Cargo AS STRING * 20, ClaveCorta AS STRING * 3, ClaveLarga AS STRING * 10, Direccion1 AS STRING * 20, Direccion2 AS STRING * 20, Tele AS STRING * 20, Sueldo AS STRING * ... |
100 poke 53272,peek(53272) or 8
105 poke 53265,peek(53265) or 32
106 sys 6660
110 dim m(192)
120 fort=0to192:m(t)=184:next
130 fory=35to-35step-1
140 foro=0to191
150 x=(o+y*4-96)/7
160 h=sqr(x*x+y*y)
170 ifh<>0thenz=-sin(h)/h
180 v=84+y*2+z*70
190 ifv>m(o)thenv=m(o):goto 200
191 m(o)=v
200 poke 6656,o and 255:poke 6656... |
Attribute VB_Name = "set_reduce"
Option Explicit
Dim connect_point() As Integer
Type branch_data_type
branch_no As Integer
sbus_no As Integer
sbus_to As Integer
chain_from As Integer
chain_to As Integer
End Type
Global branch_data() As branch_data_type
Type conclusion_point_type
poi(20) As Integer
End Type
Global ... |
OPTION ARITHMETIC Decimal_High
LET t = TIME
FOR i = 1 TO 10000
LET i$ = STR$(i)
FOR j = 1 TO 50
LET i2$ = ""
FOR x = 1 TO CEIL(LEN(i$) )
LET i2$ = i2$ & i$(LEN(i$)-x+1:LEN(i$)-x+1)
NEXT x
LET i$ = STR$(VAL(i$) + VAL(i2$))
FOR x = 1 TO CEIL(LEN(i$)/2)
... |
0 rem $Id$
10 print
15 co=peek(646)
20 dr=peek(186)
30 ca$="foreground"
40 gosub 3000
50 fg=ch
60 ca$="background"
70 gosub 3000
80 bg=ch
90 ca$="page prompt (more)"
100 gosub 3000
110 mo=ch
120 rt=1
130 gosub 4000
150 gosub 2000
160 end
2000 open 15,dr,15,"s0:prefs":close 15
2010 open 5,d... |
CLS
PLAY "MB L64 c9 c9 c9 c2 g2 f9 e9 d9 o5 c2 o4 g4 f9 e9 d9 o5 c2 o4 g4 f9 e9 f9 d3"
PRINT SPC(15); "Welcome to StarWars The Speeder-Bike adventure!"
SLEEP
q = 100
z = 100
x = 320
Y = 240
c = 300
v = 300
speed = 5
SCREEN 12
dir = 4
DO
COLOR 3
a$ = INKEY$
'Styra
IF a$ = CHR$(0) + "K" THEN dir = dir + ... |
Operation =1
Option =0
Where ="(((dbo_ProjectComponentPricingDetail.ProjectComponentID)=11935))"
Begin InputTables
Name ="dbo_ProjectComponentPricingDetail"
End
Begin OutputColumns
Expression ="dbo_ProjectComponentPricingDetail.ProjectComponentID"
Expression ="dbo_ProjectComponentPricingDetail.*"
Expre... |
10 CLS
20 PRINT @ 0, JOYSTK(0);
30 PRINT @ 5, JOYSTK(1);
40 PRINT @ 10, JOYSTK(2);
50 PRINT @ 15, JOYSTK(3);
60 GOTO 20
|
10 DIM t$(16, 12): REM Type commands
20 FOR i=1 TO 16
25 READ a$
30 LET t$(i)=a$
40 NEXT i
50 PRINT AT 18,0; "E (OR 0) - Edit Cell"; AT 19,0;"C - Clear Cell"; AT 20,0;"X - Clear Stack"
2000 REM Menu Stack Command
2010 LET StackCmd = 64000: REM Start addres for stack
2020 LET EndStackCmd = 16
2030 LET PosMenu = 0
2040 L... |
0 REM ************************
1 REM * - CCESOFT - *
2 REM *OTTO LONGO SERNATINGER*
3 REM * VERSAO 1.1 05/85 *
4 REM ************************
5 REM * FATORIAL *
6 REM ************************
30 HOME
90 PRINT : PRINT TAB( 11)"- CCESOFT -": PRINT : INVERSE : PRINT TAB( 9)"F A... |
;```````````````````````````````````````````````````````````````
; eKush - autogaz2699.a26
dim _Ch0_Sound = q
dim _Ch0_Duration = r
dim _Ch0_Counter = s
dim _Bit0_Reset_Restrainer = y
const noscore = 1
__Start_Restart
AUDV0 = 0 : AUDV1 = 0
a = 0 : b = 0 : c = 0 : d = 0 : e = 0 : f = 0... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
DividingLines = NotDefault
AllowAdditions = NotDefault
AllowDesignChanges = NotDefault
ScrollBars =2
TabularFamily =48
PictureAlignment =2
DatasheetGridl... |
!--------------------------------------------------
!- December-27-20 3:30:31 PM
!- Import of :
!- c:\users\mike\desktop\p\personal\cribbage.prg
!- Commodore 64
!--------------------------------------------------
1 SYS2067:GOTO5
2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
3 DATA0,1,2,3,0,1,2,4... |
1111 ON ERROR GOTO 9000
'CLEAR , , 1024
SCREEN 12
PALETTE 8, 19 + (19 * 256) + (19 * 65536)
DEFDBL A-Z
dim ja as long
dim jb as long
viewmag=1.001
DIM P(40, 11), Px(40, 5), Py(40, 5), Vx(40), Vy(40), B(1, 250), Ztel(33), Znme$(42), panel(2, 267)... |
10 :REMARK \t\tSINK.BAS \n\t\tBy: William C. Zurney
20 CLEAR 500
30 DEFINT A-Z
40 E$=CHR$(27):E1$=E$+"E":Y$=E$+"Y"
50 PRINT E1$Y$" 9SINK By: William C. Zurney"
60 PRINT Y$"#0The object is to sink the ship as it crosses the"
70 PRINT Y$"$0sreen of the torpedoes scope."
80 PRINT Y$"&0Use the keypad at the right for your... |
10 REM Smooth Criminal - Michael Jackson
15 PLAY "T118O0MSL16"
20 PLAY "P8AP16AAEAB8BP16"
30 PLAY ">>A64P64P16.<<AB"
40 PLAY ">C8CP16>A64P64P16.<<B>C"
50 PLAY "<B8GP16>>A64P64P16.<<"
60 PLAY "AP16"
70 PLAY "P8AP16AAEAB8BP16"
80 PLAY ">>A64P64P16.<<AB"
90 PLAY ">C8CP16>A64P64P16.<<B>C"
100 PLAY "<B8GP16>>A64P6... |
10 dim sv%(256):ti$="000000":cp=2
20 poke 53281,0:poke 646,7
30 print chr$(147)"prime numbers up to 255:{down}"
40 am=0
50 gosub 1000
60 if pr=0 then 100
70 print pr",";
80 am=am+1
90 goto 50
100 print"{down}number of primes (expected 54):";am
110 printti$:end
1000 if (sv%(cp)=0) then 1100
1010 cp=cp+1
102... |
Attribute VB_Name = "CIPHER_BLOWFISH_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.
Function BLOWFISH_ENCRYPT_STRING_FUNC(ByVal DATA_STR As String, _
... |
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... |
SUB MAIN
DIM X AS FLOAT
X=321.1234f // Note the trailing f
PRINT "X=" + STRING(X)
X=1.234E+2f
PRINT "X=" + STRING(X)
X=-1234.56E-2f
PRINT "X=" + STRING(X)
END SUB
|
10REM squash BY ROBIN AGER
20DIMP-1,B3;P.$21
30[JSR#FE71;STY#80;RTS;]
40P.$6
50S=0;D=9
60CLEAR1
70X=40;Y=40;G=1;H=3;A=1;R=0;L=1;K=0;S=30
80GOS.330
90GOS.390
100IFX>=118;GOS.d
110LI.T.
120IF?#80=33;GOS.b
130IF?#80=58;GOS.c
140IFX<=10;GOS.e
150IFY>=53;GOS.f
160IFY<=11;GOS.g
170PLOT15,X,Y;WAIT;X=X+H;Y=Y+G;PLOT13,X,Y
180G... |
CLS
null$ = CHR$(255)
zero$ = CHR$(0)
small$ = CHR$(12)
med$ = CHR$(13)
large$ = CHR$(14)
p$ = CHR$(4) + CHR$(0) + CHR$(4)
REM Mission editing routine for WC1 (may or may not work with KS)
4000
CLS
PRINT "Loading..."
shipship$ = " "
shipiff$ = " "
shiporders$ = " "
shipxcoordbyte1$ = " "
shipxcoordbyte2$ = " "
s... |
Version =20
VersionRequired =20
Begin Form
AutoResize = NotDefault
RecordSelectors = NotDefault
MaxButton = NotDefault
MinButton = NotDefault
ControlBox = NotDefault
AutoCenter = NotDefault
NavigationButtons = NotDefault
CloseButton = NotDefault
DividingLines = NotDefault
AllowD... |
DIM X AS INTEGER
DIM WRD AS STRING
DIM REVWRD AS STRING
DIM B AS STRING
CLS
DO
INPUT "ENTER FIRST WORD", WRD
PRINT
PRINT
PRINT
FOR X = LEN(WRD) TO 1 STEP -1
REVWRD = REVWRD + MID$(WRD, X, 1)
NEXT X
PRINT
PRINT
PRINT "ORIGINAL WORD", UCASE$(WRD)
PRINT "REVERSE WORD", UCASE... |
Public Function ComputeWindChillEnglish( _
ByVal dblFarenheit As Double, _
ByVal dblWindMPH As Double) _
As Double
' Comments : Calculate the wind chill for exposed human skin.
' Parameters: dblFarenheit - The temperature in degrees Fahrenheit
' dblWindMPH - The wind speed in Miles per Hour
... |
10 '*********************************
11 '* PROJETO DE FILTROS PASSIVOS *
12 '* Eduardo Rombom Halfen *
13 '* Projeto final: DEEL/UFRJ 1987 *
14 '* Adaptado por ACMQ *
15 '* Versao 1.1 de 01/12/87 *
16 '*********************************
17 DEFDBL A-Z
50 GOSUB 320
60 GOSUB 470
70 I... |
1 REM HANGMAN
10 DIM W(20),R(1);N=10
20 CLEAR 0;GOTO 100
50a*CAMBRIDGE*ATOM*FIEND*SLAYS
51 *FOREIGN*MICRO*DURING*PIZZA
52 *EATING*COMPETITION
100 X=?18*256;D=#D;Y=CH"a"
110 DO DO X=X+1;UNTIL ?X=D;UNTIL X?3=Y
120 X=X+3;Y=CH"*"
130 FOR P=1 TO ABSRND%N
140 DO X=X+1;IF ?X=D X=X+3
150 UNTIL ?X=Y;X=X+1
160 NEXT P;Z=0
170 DO... |
Attribute VB_Name = "mdlVMCobein"
'---------------------------------------------------------------------------------------
' Module : mDetectVM
' DateTime : 03/07/2008 07:32
' Author : Cobein
' Mail : cobein27@hotmail.com
' WebPage : http://cobein27.googlepages.com/vb6
' Purpose : Mini Virtu... |
Version =20
VersionRequired =20
Begin Form
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =14220
DatasheetFontHeight =11
ItemSuffix =7
Right =19725
Bottom =8040
Dat... |
REM PROGRAMA DE DEMOSTRACION 17
REM ROTACION DE UNA JARRA EN TRES DIMENSIONES
REM CON SOMBREADO DE SUPERFICIES POR ILUMINACION
REM (ELIMINACION DE SUPERFICIES OCULTAS POR EL ALGORITMO DEL PINTOR)
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: SOMBREAR... |
'Program Listing 59.1: NV100.BAS Interfacing to the MAX144 12-Bit ADC
SYMBOL CS_AD = 0
SYMBOL SDATA = 1
SYMBOL CLK = 2
SYMBOL DATpin = pin1
SYMBOL Ad_flag = bit12
SYMBOL CLOCKS = B2
SYMBOL SAMPLES = B3
SYMBOL AD0_CAL = W0
SYMBOL AD1_IN = W2
SYMBOL WORK = W3
SYMBOL AD_RESULT = W4
... |
Attribute VB_Name = "M_Tool"
Option Explicit
Public cn As New ADODB.Connection
Public rs As New Recordset
Public strSQL As String
Public blnCancel As Boolean
Public RowCtr As Long
Public cls_GetDetails As New cls_details
Dim oSM As Object
Public Const strConnectionString As String = "Provider=SQLOLEDB.1;Passwor... |
10 cls
20 input "START";x
30 input "ANY NUMBER";y
35 if y=0 then end
40 x=x+y
50 print "TOTAL=";x
60 print " "
70 goto 30 |
Attribute VB_Name = "FINAN_DERIV_COMMODITY_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.
'*****************************************************... |
1 %TITLE "Location Profile"
%SBTTL "UTL_MAIN_LOCATION"
%IDENT "V3.6a Calico"
FUNCTION LONG UTL_MAIN_LOCATION(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 software is fur... |
DECLARE SUB scrambler ()
COMMON SHARED p$
COMMON SHARED a$
CLS
LINE INPUT "Username? ", un$
OPEN "./save/a.txt" FOR OUTPUT AS #1
PRINT #1, un$
CLOSE
top:
CLS
CLEAR
PRINT "Password? ";
DO UNTIL i$ = CHR$(13)
i$ = INKEY$
IF i$ <> "" AND i$ <> CHR$(13) THEN LET p$ = p$ + i$: PRINT "*";
LOOP
PRINT
PR... |
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools
===============================================================================
FILE: Constructor.MSWord.MVCKA
Type: OLE
-------------------------------------------------------------------------------
VBA MACRO ThisDocument.cls
in file: Constru... |
10 LET X=RND(1)
20 PRINT X
30 GOTO 10 |
0 REM COMPILED USING MCBASIC
10 CLEAR500:DIMA(9,9),C(64),A,B,X,Y,A0,A1,A2,A3,A4,A5,A6,A7,A8,B1,B2,B3,B4,B5,B6,B7,B8,H,M,N,P,I,J,K,T,W,Q,S
20 A=0:B=0:X=0:Y=0:S=0:A0=0:T=0:A8=0:A2=0:A3=0:A4=0:B1=0:B6=0:H=0:M=0:N=0:P=0:A5=0:I=1:B7=RND(-(PEEK(9)*256+PEEK(10)))
30 CLS:INPUT"DO YOU WANT INSTRUCTIONS";IN$:IN$=LEFT$(IN$,1):IFI... |
Attribute VB_Name = "WordManipulasi"
Public Function Similarity(ByVal string1 As String, _
ByVal string2 As String, _
Optional ByRef RetMatch As String, _
Optional min_match = 1) As Single
Dim b1() As Byte, b2() As Byte
Dim lngLen1 As Long, lngLen2 As Long
Dim lngResult As Long
If UCase(string... |
10 rem * example 2 *
20 rem creating multi color programmable characters
31 poke 56334,peek(56334)and254:poke1,peek(1)and251
35 fori=0to63:rem character range to be copied from rom
36 forj=0to7:rem copy all 8 bytes per character
37 poke 12288+i*8+j,peek(53248+i*8+j):rem copy a byte
38 next j,i:rem goto next byte ... |
DECLARE SUB SORT (N!, RA!())
DECLARE FUNCTION ERF! (Y!)
DECLARE FUNCTION PROBKS! (ALAM!)
DECLARE FUNCTION FUNC! (X!)
SUB KSONE (DATQ(), N, DUM, D, PROB)
CALL SORT(N, DATQ())
EN = N
D = 0!
FO = 0!
FOR J = 1 TO N
FQ = J / EN
FF = FUNC(DATQ(J))
DT = ABS(FO - FF)
IF ABS(FQ - FF) > DT THEN DT = ABS(FQ... |
DEFSTR Q
DO
CLS
PRINT "Нажми:"
PRINT "1) - открыть"
PRINT "2) - создать"
PRINT "3) - выход"
DO
cx = VAL(INPUT$(1))
LOOP UNTIL cx > 0 AND cx < 4
CLS
SELECT CASE cx
CASE 1
INPUT "Введи полный путь файла"; q
OPEN q FOR INPUT AS #1
INPUT #1, n
INPUT "Введи марку автомобиля"; qm
FOR i = 1 TO n
INPUT #1, qn... |
1 'I2C Date/Time SET
2 '
10 CLEAR300,&H8FFF:PRINT CHR$(12)
20 DEFUSR0=&H9000:DEFUSR1=&HA000
30 DD$=USR0(""):PRINT "NOW:";DD$:PRINT
50 PRINT "Enter Date/Time(YYMMDDyyHHMMSS)"
60 PRINT "yy:SUN=01,MON=02..SAT=07"
70 INPUT DT$
80 RC$=USR1(DT$)
90 PRINT RC$:IF RC$ <> "DATE/TIME SEND OK" THEN END
100 PRINT:DD$=USR0... |
20 CLEAR 1000:I=2:N=1:PRINT 1;SPC(2);"1=1"
30 IF NOT I<=1000 THEN 90
40 FOR K=1 TO 0 STEP 1:GOSUB 100
50 FOR T=1 TO LEN(V$) STEP 2
60 IF (MID$(V$,T,2)="1*" OR MID$(V$,T,2)="2*") OR (MID$(V$,T,2)="3*" OR MID$(V$,T,2)="5*") THEN H$="good" ELSE H$="not":T=LEN(V$)+1
70 NEXT T:IF H$="good" THEN PRINT I;SPC(2);MID$(STR$... |
Attribute VB_Name = "stdDLL"
Option Explicit
Private Const stdName As String = "stdDLL"
Private Const DLL_NAME As String = "QuantLibDLL.dll"
' #Const IS_DEBUG = True
#Const IS_DEBUG = False
#If Mac Or Win16 Then
' not support for this platform
#ElseIf VBA7 And Win64 Then
#If IS_DEBUG Then
... |
COMMON GAMEFILE, X, Y, MX, MY, NAME$, PLANET$, ITEM$
SCREEN 9
PLANET$ = " 12": ITEM$ = " "
IF MID$(PLANET$, 15, 2) = "21" THEN GOTO HEATSEEKER
IF MID$(PLANET$, 15, 2) = "17" THEN GOTO MOONSHOES
IF MID$(PLANET$, 15, 2) = "12" THEN GOTO WARPMODULE
IF MID$(PLANET$, 15, 2) = "19" THEN GOTO POWERRIFLE
IF MI... |
DEFLNG A-Z
SCREEN 12
'$DYNAMIC
DIM a(255)
DIM filebyte(640)
DIM Pic(16383)
top:
OPEN COMMAND$ FOR BINARY AS #1
FOR i = 0 TO 53
a$ = INPUT$(1, #1)
filebyte(i) = ASC(a$)
NEXT i
height = filebyte(22) + 256 * filebyte(23)
wid = INT(((filebyte(2) + filebyte(3) * 256 + filebyte(4) * 65536 - 110) / ... |
5 S=54272 :rem 201
10 FORI=0TO22:POKE S+I,0:NEXT : rem 10
100 POKE S+24,15 :REM SET VOLUME HIGH
110 POKE S+5,80 :REM A/D
120 POKE S+6,243 :REM S/R
130 POKE S+3,4 :rem 212
140 POKE S+4,65 :rem 13
150 FORI=20TO140STEP5:POKE S+1,I:NEXT :rem 20
155 POKE S+4,64:FORI=1TO50:NEXT :rem 107
170 GETA$:IFA$=""THEN140 :r... |
10 print "hallo"
20 goto 10
|
0 CLS0:CLEAR2000,36762:DIMK(255),T,M,E,H,V,K,L,S,F,R,P,Q,U,W,B,A:GOSUB5000:T=RND(-(PEEK(9)*256+PEEK(10))):GOTO100
1 RETURN
2 P=P+1:RETURN
3 P=P-1:RETURN
4 ON1-(PEEK(P)<>30)GOTO28:FORT=P+VTOP+ASTEPV:ONK(PEEK(T))GOTO5,5,5:GOSUB6
5 POKET,34:NEXT:FORT=P+VTOP+ASTEPV:POKET,V:NEXT:F=F-10:RETURN
6 SOUND200,1:I=I+1:ON1-(I-(5*IN... |
CLS
INPUT "Enter an integer number"; N!
s$ = STR$(N!)
FOR i = 1 TO LEN(s$)
c$ = MID$(s$, i, 1)
a = ASC(c$)
IF a >= 48 AND a <= 57 THEN
c = c + 1
END IF
NEXT i
IF LEN(s$) - 1 = c THEN
status = -1
ELSE
status = 0
END IF
IF status THEN
FOR i = 1 TO N!
IF N! MOD i = 0 THEN
PRINT i,
END IF
NEXT i
EL... |
dbMemo "SQL" ="SELECT Left(tbl_Datasheets.File_Name,4) AS Park, tbl_Datasheets.File_Code, tbl_D"
"atasheets.File_Name AS Datasheet, tbl_Datasheets.File_Description, tbl_Datasheet"
"s.Sort_Order\015\012FROM tbl_Datasheets\015\012WHERE (((tbl_Datasheets.Inactive)"
"=0))\015\012ORDER BY tbl_Datasheets.Sort_Or... |
# Taken from https://projecteuler.net/problem=92
#8581146
000 LET X = 2
010 LET C = 0
020 GOTO 060
030 LET C = C + 1
040 LET X = X + 1
050 IF X = 10000000 THEN GOTO 160
060 LET Z = X
070 LET S = 0
080 LET Y = Z
090 LET Z = Y / 10
100 LET S = S + (Y - Z * 10) * (Y - Z * 10)
110 IF Z > 0 THEN GOTO 080
120 IF S = 89 ... |
'**** MouseCM.Bas - demonstrates Chris May's mouse routines (8/1/1989)
'Copyright (c) 1989 Chris May
'QuickBasic must be started with the /ah option for this demo
DEFINT A-Z
TYPE FLen
S AS STRING * 13
END TYPE
DECLARE SUB MAMenuT (SEG ArrayElement AS FLen, Selection, Start, ElSize, Count, ScanCode, FileColr... |
COMMON GAMEFILE, X, Y, MX, MY, NAME$, PLANET$, ITEM$
SCREEN 12: CLS
DRAW "BM50,50BR1C6R2F1D1G1L2H1U1BR1P0,6C6BF3L4G1R2D1L3R8G1R1C1BR1D1L1BL8L1U1C6BR1R1BR2R2D1L2C1BH1G1R1D1C8BR1R2C1BR1U1R1H1BU2C6R1C1BU1D0BL6D0BD10BL1R3U1L2BR4R2F1L3BU2C6U2R1D2BL3U2L1D2BR3BU7C8D0BLC15D0"
DIM ASTRONAUT(1 TO 200): GET (42, 50)-(57, 64), AST... |
5 REM *** FLIGHT OF THE BUMBLE BEE ***
10 FOR M = 54272 TO 54296 : POKE M,0 : NEXT
20 WF(0) = 33 : WF(1) = 17 : WF(2) = 65 : WF(3) = 129
30 POKE 54296,15
40 POKE 54274,9 : POKE 54275,255
50 POKE 54277,137 : POKE54278,128
60 READ H,L
70 IF H<0 THEN 900
80 POKE 54273,H : POKE 54272,L
90 POKE 54276,WF(I)... |
DECLARE SUB RSTRING (a$, b$, c$)
DECLARE SUB REP (a$, b!)
DECLARE SUB CENTER (s$, w!)
DECLARE SUB GETKEY (a$)
OPTION BASE 1
DIM SHARED x$(12)
n$ = "DO DO# RE RE# MI FA FA# SOL SOL#LA LA# SI "
r$ = CHR$(13)
FOR i = 1 TO 12
x$(i) = MID$(n$, (i - 1) * 4 + 1, 4)
RSTRING x$(i), " ", ""
NEXT
workfile$ = "RAM:MYBUFF... |
Version =20
VersionRequired =20
Begin Form
AutoCenter = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =2
PictureAlignment =2
DatasheetGridlinesBehavior =3
GridX =24
GridY =24
Width =4500
DatasheetFontHeight =11
ItemSuffix =2
Right =135... |
CLS
INPUT s$
s$ = s$ + " "
ka = 0
FOR n = 1 TO LEN(s$)
IF MID$(s$, n, 2) = "КА" OR MID$(s$, n, 2) = "KA" THEN ka = 1: s$ = LEFT$(s$, n) + "ОН" + MID$(s$, n + 2)
IF MID$(s$, n, 2) = "ка" OR MID$(s$, n, 2) = "ka" THEN ka = 1: s$ = LEFT$(s$, n) + "он" + MID$(s$, n + 2)
NEXT
PRINT s$
IF ka = 0 THEN PRINT "Слога ... |
'-------------------
' Michal Wallace
'-------------------
' Basic Programs, #2
' Calculate the OutPut of Three Triangles, One at a Time
' (base and height will be entered by the user)
'-------------------
' Variables
'-------------------
Tri = 0 ' Loop Index for Number of Triangles
BaseOT = 0 ' Bas... |
DIM arows, acols AS INTEGER
DIM brows, bcols AS INTEGER
DIM r, c, i, sum AS INTEGER
CLS
INPUT "A rows: ", arows
INPUT "A columns: ", acols
DIM a(arows, acols) AS DOUBLE
FOR r = 1 TO arows
FOR c = 1 TO acols
PRINT "A ["; r; "] ["; c; "]: ";
INPUT a(r, c)
NEXT
NEXT
PRINT
INPUT "B rows: ", brows
INPUT "B columns: ", bc... |
10 for n=1 to 5
20 print chr$(147)
30 print : print tab(8);"temperature conversion"
40 poke 214,10 : print : input "give me a f temp";temp
50 poke 214,18 : print : poke 211,5
60 print temp;"f = ";int((temp-32)*5/9+0.5);"c"
70 for a=1 to 5000
80 next a
90 next n |
' *** CHR_EX.BAS ***
'
DEFINT A-Z
' Display two double-sided boxes.
CALL DBox(5,22,18,40)
CALL DBox(1,4,4,50)
END
' Subroutine to display boxes.
' Parameters:
' Urow%, Ucol% : Row and column of upper-left corner.
' Lrow%, Lcol% : Row and column of lower-right corner.
' Constants for extended ASCII graph... |
10 rem hello.bas
20 print "Hello, world"
30 end
|
Attribute VB_Name = "mscomm"
'* * * * * * * * * * * * * * * * * * * * * *
'* *
'* SLBI_30F = BIOMIC 결과받기 *
'* *
'* System : 신촌세브란스병원 시스템 ... |
REM @english
REM FLOATING POINT COSINE FUNCTION
REM
REM This small example will show how to use the COS function.
REM
REM @italian
REM NUMERI VIRGOLA MOBILE FUNZIONE COSENO
REM
REM Questo piccolo esempio mostrerà come usare la funzione COS.
REM
DEFINE FLOAT PRECISION SINGLE
CLS
INK WHITE
PRIN... |
SUB Main
FOR i = 2 TO 15 STEP 3
LET e = i
END FOR
END SUB
|
10 sq=62:GOSUB"LIB0:M6760"
|
"TinyBasic Test Script Joseph Lewis <joehms22@gmail.com>"
10 PRINT "Hello, world!"
20 PRINT "This is the end of line line!"
30 PRINT "How many stars do you want?"
40 INPUT a
50 LET b = 0
60 IF b < a THEN GOSUB 100
70 PRINT "Done!"
80 END
100 PRINT "*"
110 LET b = b + 1
120 RETURN
|
Attribute VB_Name = "modRenderer"
Option Explicit
' ==================================================================================
' Author: Steve McMahon
' Date: 15 March 1999
' Requires: cDIBSection.cls
' IJL11.DLL (Intel)
'
' An interface to Intel's IJL (Intel JPG Library) for use in... |
Version =20
VersionRequired =20
Begin Form
RecordSelectors = NotDefault
DividingLines = NotDefault
AllowDesignChanges = NotDefault
DefaultView =0
PictureAlignment =2
DatasheetGridlinesBehavior =3
Cycle =1
GridX =24
GridY =24
Width =19665
DatasheetFontHeight =11
ItemSuffi... |
Attribute VB_Name = "XmodIO"
Option Explicit
Private Const SystemSeparator = "\"
'****************************************************************************************************
Public Function FileSystem_GetDirContents( _
ByVal InputPath As String, _
Optional ByVal IncludePath As Boolean = True _
) ... |
REM This file was produced by typing in a listing from appendix B of Hugh Burns' thesis,
REM <https://apps.dtic.mil/dtic/tr/fulltext/u2/a106372.pdf>
REM (page 194)
00010 REM <<< INVENTION PROGRAM: ARISTOTLE'S TOPICS >>>
00020 REM <<< AUTHOR: HUGH BURNS >>>
00021 REM ... |
5 REM THIS IS A COMMENT 666 "It can have anything"
7 END
10 INPUT "How many numbers should i generate"; N
20 PRINT "Generating ", NNN " numbers..."
30 DIM R (N)
40 FOR I = 0 TO N
50 IF I <= 1 THEN 100
60 LET R(I) = R(I-1) + R(I-2)
65 PRINT R(I)
70 NEXT
80 GOTO 200
100 LET R(I) = 1
110 GOTO 65
200 END
|
Type tPelaaja
Kuollut As Integer
Arvo As Integer
Nimi As String * 20
Rahaa As Single
Maata As Single
Viljaa As Double
Anna As Double
Tullimaksut As Integer
Maavero As Integer
Henkivero As Integer
Oikeusaste As Integer
Aatelisto As Integer
Talo... |
Attribute VB_Name = "ColumnUtils_MOD"
' Routines that deal with columns
'
'
' Append daat from one column to another column
'
Function ColumnInsertRight(useCol, Optional SHUse, Optional WBUse)
If IsMissing(SHUse) Then SHUse = ActiveSheet.Name
If IsMissing(WBUse) Then WBUse = ActiveWorkbook.Name
Call ClearC... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.