text
stringlengths
7
5.36M
Version =21 VersionRequired =20 Begin Report LayoutForPrint = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularFamily =127 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =4320 DatasheetFontHe...
CLS CONST PI = 3.14159265# CONST Rad = (180 / PI) CONST H = 190 CONST L1 = 178 CONST L2 = 178 CONST LG = 92 CONST C = 1 REM Motor Consts [ Steps / Rad ]: CONST T1const = 1222.7 CONST T2const = 1161.4 CONST T3const = 680.1 CONST T4const = 244.7 CONST T5const = 244.7 CONST T6const = 27 REM Input R1: REM 1 or 0 CONST ...
50 ' schiffe versenken 60 ' (c) K.H. Lumma 70 ' GEM-Routinen aus ST 03/04/86 benutzt 100 gosub TITEL 105 START: gosub INIT 110 gosub BILDAUFBAU 120 gosub COMPSCHIFFE 125 gotoxy 3,18:?string$(20," ") 130 gosub SCHIFFEINGABE 140 spielerzug=1 150 while spielerzug < 2 155 modus=4:gosub...
REM File: .bas REM Data: REM + 1 EURO REM Programmer: Yuriy Lomako REM Description: REM ------------------------------------------------------------------- CLS INPUT N INPUT S IF N > S THEN PRINT N ELSE PRINT S
clear G$ = ENVIRON$("CMDLINE") rem H$ = environ$("path") ON ERROR GOTO Handler FILES ucase$("GCG.EXE") files ucase$("GCG.SET") cls if ucase$(G$) ="GCG/NAME" then gosub huli gosub bugs print "" print "" print "" end end if if UCASE$(G$) ="GCG/LOTTO" then dim zzx$(30) open ucase$("GCG.SET") for input as #1 do ctr = c...
10 CLS 20 PRINT" STRING IN MEM FORMAT" 30 A$="HELLO" 40 A=VARPTR(A$) 50 N=PEEK(A) 60 B0=PEEK(A+2) 70 B1=PEEK(A+3) 80 C=B0*256+B1 90 PRINT"N=";N 100 PRINT"STR ADDR=";C 110 FOR I=0 TO (N-1) 120 PRINT I;"->";CHR$(PEEK(C+I)) 130 NEXT I 140 END
'*********************************************************************************************** ' e-help for radasm elisabeth (c) 2003 '*********************************************************************************************** #COMPILE DLL "c:\asm\addins\e-help.dll" #INCLUDE "win32api.inc" #INCLUDE "ric...
' オートパイロットシステム通信モジュール ' Copyright (c) 1993-1996 by JO1SPG/T.KIZAWA Option Explicit ' ' オートパイロットメインルーチン ' Sub Auto () Dim a As Integer Dim msg As MSGD2 Dim p$, r$ Dim i%, j%, st%, stat$ Dim sm As String * 10 Dim smf$ Dim ln As String * 20 Dim lc As String * 20 Dim ...
DECLARE SUB PrintName (TheName AS STRING) DIM FirstName AS STRING CLS INPUT "Enter Name: ", FirstName PrintName (FirstName) SUB PrintName (TheName AS STRING) PRINT "The Name Printed Is: "; TheName END SUB
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools =============================================================================== FILE: Virus.MSWord.Thus.bp Type: OLE ------------------------------------------------------------------------------- VBA MACRO ThisDocument.cls in file: Virus.MSWor...
10 REM THIS PROGRAM COMPUTES THE SOLUTION TO A 20 REM QUADRATIC EQUATION 30 PRINT "ENTER VALUES FOR A, B AND C" 40 INPUT A,B,C 50 LET D = ((B^2) - (4*A*C))/(4*A^2) 60 IF D > = 0 THEN 130 70 LET X = -B/(2*A) 80 LET Y = (SQR((4*A*C) - B^2))/(2*A) 90 PRINT "ROOTS ARE COMPLEX" 100 PRINT "REAL PART = ";X 110 PRINT "IMAGINAR...
10 PRINT TAB(26); "ACEY DUCEY CARD GAME" 20 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOUN, NEW JERSEY 21 PRINT 22 PRINT 23 PRINT 30 PRINT"ACEY-DUCEY IS PLAYED IN THE FOLLOWING MANNER" 40 PRINT"THE DEALER (COMPUTER) DEALS TUO CARDS FACE UP" 50 PRINT"YOU HAVE AN OPTION TO BET OR NOT BET DEPENDING" 60 PRINT"ON WHET...
5 DEFINT A-Z: GOTO 10 10 pi = 3.141593: SCREEN 1: COLOR 0, 1: DIM bomb!(48), bucket!(96): 'GOSUB 5000 20 CLS : quit = 0: start! = TIMER: upvel = 0: lftvel = 0: w = 0: dir = -1 30 CIRCLE (159, 99), 8, 3, .6 * pi, .4 * pi: CIRCLE (159, 90), 2, 3, , , 5 / 18 40 CIRCLE (159, 95), 2, 3, pi, 2 * pi, 5 / 18: LINE (157...
10 let population = 100 20 let land = 1000 30 let grain = 2800 40 let starved = 10 50 let immigrants = 5 60 let rats = 200 65 let planted = 300 70 let yield = int(rnd * 5) + 1 80 let price = int(rnd * 6) + 17 90 let year = 1 100 let plague = 0 200 do 210 gosub 1000 220 gosub 2000 230 gosub 3000 240 loop until populatio...
REM CLS PRINT "PRESS 1 FOR FACTORIAL" PRINT "PRESS 2 FOR CALCULATING POWER OF A NUMBER" INPUT "ENTER NUMBER"; N INPUT "ENTER YOUR CHOICE"; CH IF CH = 1 THEN GOSUB 10 IF CH = 2 THEN GOSUB 20 END 10 S = 1 FOR I = 1 TO N STEP 1 S = S * I NEXT I PRINT "FACTORIAL"; S RETURN 20 INPUT "NO.", A INPUT "POWER"; P V = A ^ P PRINT...
1 LET A = 1 2 LET B = 2 3 GOSUB 30 4 LET A = 2 5 LET B = 2 6 GOSUB 30 7 LET A = 2 8 LET B = 1 9 GOSUB 30 10 GOTO 9999 30 IF A = B THEN 100 40 IF A > B THEN 80 50 PRINT A;" LESS THAN ";B 60 RETURN 70 80 PRINT A;" GREATER THAN ";B 90 RETURN 95 100 PRINT A;" EQUALS ";B 110 RETURN 9999 END
10 N = 10 15 DIM A(N) 20 FOR I=1 to N 30 PRINT A(I); 40 A(I) = I / 2 50 PRINT " --> "; A(I) 60 NEXT I 70 ON N / 10 GOTO 80, 90 80 N = 20: GOTO 15 90 END
Attribute VB_Name = "WinXP" ' sup thanx to AssMaN and Heat for helping on some of ' the subs most of these i had to rewrite due to the ' fact they were not made for windows xp i'm pretty ' sure all of these are working but if you find a bug ' please let me know : ' shaggy@darcfx.com or darcfx.com/shaggy/ Public Const v...
5 DEFINT I:INPUT A1,AN,D'А1-первый член арифметической прогрессии;АN-п оследний ее член;D-знаменатель (D>0!) 7 IF D<0 OR A1>AN THEN PRINT"Прогрессия должна быть возрастающей! Повторите ввод!":GOTO 5 10 S=0:N=A1 20 IF N>AN THEN GOTO 70 30 FOR I=1 TO 0 STEP 1 40 S=S+N:N=N+D 'Тело цикла 50 I=N<=AN 60 NEXT I 70 PRI...
atom=H contraction shell=S num_primitives=4 num_coefficients=1 50.9991780 0.0096605 7.4832181 0.0737289 1.7774676 0.2958581 0.5193295 0.7159053 contraction shell=S num_primitives=1 num_coefficients=1 0.1541100 1.0000000 contraction shell=P num_primitives=1 num_coefficients=1 0.7500000 1.0000000 atom=He contraction shel...
10 v=53248:x=150:y=157:print"{clear}" 15 poke 53280,2:poke 53281,2:poke 650,128:for z=16000 to 16000+64*2:pokez,0:next 20 for i=16000 to 16077:read a:poke i,a:next i:ti$="000000":poke v+29,1 25 poke 2040,250:poke 2041,251:poke v+21,3:xx=100:yy=100:poke v+40,1 30 for z=1 to 5:print"{home}{cyan}time:{white}"val(ti$):...
Version =20 VersionRequired =20 Begin Form AllowFilters = NotDefault PopUp = NotDefault Modal = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ShortcutMenu = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions =...
'********** INSTALL.BAS - QuickPak Professional Install Utility 'Copyright (c) 1992 Ethan Winer 'Note: If you run this program in the QB editor the ExeName function will 'return the directory that QB.EXE was run from, which is not necessarily the 'current directory. In that case you may have to enter the directory n...
10 REM ... PATTERNS ... 15 DIM XX3,ZZ3,VV3,CC3,WW3 20 DO CLEAR4 25 CC0=256;CC1=192;CC2=CC0;CC3=CC1 30 FOR I=0TO3;XXI=ABSRND;VVI=ABSRND%4*2 40 XXI=XXI%CCI;ZZI=XXI+CCI;NEXT 45 FOR G=5TO7 STEP2 50 DO FOR I=0TO3;ZZI=ZZI+VVI 55 WWI=ABS(ZZI%(CCI*2)-CCI) 60 NEXT 65 MOVE WW0,WW1;PLOTG,WW2,WW3 70 UNTIL WW0=XX0 AND WW1=XX1 AND...
1 CLS LOCATE 4, 5 PRINT "UNLIMITED...............1 FALLEN EMPIRES............10" LOCATE 6, 5 PRINT "REVISED.................2 CHRONICLES................11" LOCATE 8, 5 PRINT "4ŽEDICIÓ................3 HOMELANDS.................12" LOCATE 10, 5 PRINT "ARABIAN NIGHTS..........4 ALLIANC...
REM @english REM BUFFERS MANAGEMENT LITERAL DEFINITION (1) REM REM This small example will show the basic syntax to define a buffer. REM A buffer is a memory area that is defined statically and used "as is". REM REM @italian REM GESTIONE DEI BUFFER DEFINIZIONE (1) REM REM Questo piccolo esempiomostra la sint...
Attribute VB_Name = "modComDialog" Option Explicit Const MAX_PATH As Long = 260 Private Type OPENFILENAME lStructSize As Long hWndOwner As Long hInstance As Long lpstrFilter As String lpstrCustomFilter As String nMaxCustFilter As Long nFilterIndex As Long lpstrFile As String nMaxFi...
DECLARE SUB challengeMatchDay () DECLARE SUB challengeMode () DECLARE SUB matchDayMenu () DECLARE SUB calender () DECLARE SUB career () DECLARE SUB worldRankings () DECLARE SUB backWallRally () DECLARE SUB training () DECLARE SUB targetPractice () DECLARE SUB tournament () DECLARE SUB preMatchDay () DECLARE SUB options...
CLS Pi = 3.141591265358# INPUT "введи абсциссу центра "; x0 INPUT "введи ординату центра "; y0 INPUT "введи период абсциссы "; Tx INPUT "введи период ординаты "; Ty INPUT "введи амплитуду абсциссы "; ax INPUT "введи амплитуду ординаты "; ay INPUT "введи абсциссу начала Pi*"; x1 INPUT "введи ординату начала ...
10 a$(0)= "fbc" 11 a$(1)= "fcc" 12 a$(2)= "abb" 90 'bubble sort array 100 j=2: flips=1 'one more pass 110 while flips 115 flips=0 120 for i=0 to j-1 130 if a$(i)>a$(i+1) then swap a$(i),a$(i+1): flips=1 140 nexti 150 wend
5 ' ------------->> ENTERBBS V3.2 17/Jul/83 <<------------- 10 ' 11 ' As run on Software Tools/RCPM, Australia (61-2)-997-1836) 12 ' 13 ' : Entry/name-logging module of RBBS version 2.2, : 14 ' : from Howard Moulton's original SJBBS (in Xitan : 15 ' : Basic), converted to MBASIC and called RBBS or : ...
40 SCREEN 2: CLS : CONST Pi = 3.141593 50 WINDOW (-2.5, -2)-(5.5, 4) 60 p = 32: DIM X2(p), Y2(p), U2(p), V2(p), s(p) 70 F = Pi / 3: REM winkel f 80 EPS = .004: C = COS(F): s = SIN(F) 90 A1 = -C * s: A2 = C ^ 2: B1 = A1 + A2: B2 = -A1 + A2 100 C1 = B2: C2 = 1 - B1: D1 = 1 - A1: D2 = 1 - A2 110 X1 = 0: Y1 ...
' K catalizza PP e PP2; V diminuito da PP2 ' interstimulus interval according to poisson distribution. Bursts ' end after maxcount pulses. 100 loops. no seed. DECLARE FUNCTION derivPP2! (KK!, PP2!, yt) DECLARE FUNCTION derivPP1! (KK!, PP1!, yt) DECLARE FUNCTION derivCC (yt, CC, PP1, PP2) DECLARE FUNCTION derivKK (CC, ...
'$INCLUDE: 'QBOBJECT.BI' win 110, 200, 340, 305, "Example 5 - Checkboxes", 1 Label 15, 35, "What do you program in?", 0, 1 CheckBox 15, 55, 0, 1 Label 32, 55, "Delphi/Pascal", 0, 2 CheckBox 15, 70, 0, 2 Label 32, 70, "QuickBASIC", 0, 3 CheckBox 15, 85, 0, 3 Label 32, 85, "Other", 0, 4 button "OK", 145, 45, 1 DO GetCo...
Version =20 VersionRequired =20 PublishOption =1 Checksum =1117950173 Begin Report LayoutForPrint = NotDefault Modal = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault PageHeader =1 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavio...
10 INPUT "enter a string ",A$ 20 LET B$ = RIGHT$(A$,2) + MID$(A$, 2, LEN(A$) -3) + LEFT$(A$,1) 40 PRINT B$ 50 END 
10 REM ROCK PAPER SCISSOR LIZARD SPOCK 15 PRINT CHR$(147):POKE 53280,6:POKE 53281,6 18 DIM N$(20), N(20), M(20) 20 PRINT"ROCK PAPER SCISSOR LIZARD SPOCK":PRINT:PRINT 21 V=53248:FORX=0TO7:POKE2040+X,200:POKEV+39+X,1:NEXT:REM MEMORY LOCATION FOR SPRITES 22 FOR X=0TO62:READA:POKE12288+X,A:NEXT:REM DEFINITION OF SPRIT...
Version =20 VersionRequired =20 Begin Form PopUp = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault Def...
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p. 10 'Mandelbrot Set, Total View 20 'Name: MANDEL 30 SCREEN 12, 0, 0, 0: CLS 40 WINDOW (-2.2, -1.4)-(1.1, 1.4) 45 COLOR 15: LOCATE 1, 1: PRINT "Mandelbrot set of quadratic system, pixel method" 50 n1 = 160: n2 = 100: ' Resolution 60 FOR i = -n1 TO n1 6...
' Program "DEMODER5" December 24, 1992 ' ' Copyright (c) 1992 Crescent Software ' ' This program demonstrates the procedure for calling ' subroutine DERIV5 which numerically estimates the ' first derivatives of an analytic function of the ' form y = f(x) defined by the user. ' ' This program demonstra...
DEFINT A-Z DECLARE SUB Center (row%, text$) DECLARE SUB Mister () 280 CLS SCREEN 9 COLOR 7 PSET (1, 1): DRAW "D300;R638;U300;L638" PSET (1, 30): DRAW "R638" PSET (2, 2): DRAW "D298;R636;U298;L636" PSET (1, 31): DRAW "R638" PSET (3, 3): DRAW "D296;R634;U296;L634" PSET (1, 32): ...
REM Program Pegawai INPUT "Masukan Nama Anda : ", nama$ PRINT "Berikut Ini Adakah Data Jenis Karya Ilmiah" PRINT "Isilah Jumlah Karya Ilmiah Yang Anda Buat Sesuai Jenisnya !" INPUT "Pembuatan Buku : ", buku INPUT "Pembuatan Diktat : ", diktat INPUT "Pembuatan Paper : ", paper LET buku = buku * 3 LET diktat = diktat * ...
10 ' make sure CALL parameters that contain function evaluations 20 ' do not overwrite previously evaluated parameters 90 DIM cols(11,20) 100 GOTO 900 270 PROC setfield(of,v) 272 cols((@of+1) MOD 40,@of/40)=@v 276 RETURN 280 PROC getfield(of) 282 RETURN cols((@of+1) MOD 40,@of/40) 900 FOR x=0 TO 11:FOR y=0 TO 20 910 ...
' *************************************************************************** ' * ' * Title : LCD Thermometer LM35.bas ' * Version : 1.0 ' * Last Updated : 17.04.2006 ' * Target : ATMega8 ' * Author : www.avrprojects.net ' * Program code : BASCOM AVR ' * Hardware req. : LM35 ' * Descriptio...
10 REM **** Golf ***** 20 REM By R.A.Waddilove 30 REM (c) Atari ST User 40 REM *** ST Basic *** 50 REM Med/Hi resolution 60 CLEAR:x=FRE("") 70 GOSUB init 80 FOR hole=1 TO 9 90 GOSUB tee 100 done=0 110 FOR golfer=1 TO players 120 status(golfer)=5 130 WHILE status(golfer...
CLS SCREEN 13 PRINT COLOR 12 PRINT "***Info bits***" COLOR 2 PRINT "made by Mukto" PRINT "info from 'Ask me Anything' book" COLOR 10 PRINT COLOR 15 PRINT INPUT "type any questions for an answer", ans$ SOUND 500, 5 SOUND 900, 5 SOUND 400, 5 SOUND 800, 5 SOUND 300, 5 SOUND 700, 5 IF ans$ = "How old is ...
01 rem sample fibonachchi 10 let sum = 0 20 let num1 = 0 30 let num2 = 1 32 let cnt = 0 40 let sum = num1 + num2 50 let num1 = num2 55 let num2 = sum 60 print sum 62 let cnt = cnt + 1 70 if cnt < 100 then goto 40
' This script is an example of the EMDO101 energy manager ' Please visit us at www.swissembedded.com ' Copyright (c) 2015-2016 swissEmbedded GmbH, All rights reserved. ' AEConversion AESGI protocol V1.7, control microinverters ' INV250, INV350 and INV500 over RS485 (requirement) ' Documentation available from manufact...
LIBRARY "gemdos" DEFINT a-z REM $option k200 a&=fgetdta& b=fsfirst%("*.*",16) IF b<>0 THEN STOP -1 DO FOR c=30 TO 43 d=SPEEKB(a&+c) IF d<>0 THEN a$=a$+CHR$(d) ELSE EXIT FOR NEXT c PRINT a$; a$="" d&=SPEEKL(a&+26) PRINT " (File size:";d&;")" e=SPEEKW(a&+22) 'PRINT "File time stamp: ";e f=S...
10 PLAY"cdefgab" 
REM @english REM I/O CONTROL WITH JOYSTICK (1) REM REM This example will read the joystick status for the first joystick. Then it will decode the REM value in a binary string and print it on the screen. This example also shows how REM automatic scrolling works, when the end of the screen is reached with the REM ...
1 %TITLE "Vendor File" %SBTTL "AP_RPRT_APV001" %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 inclusion o...
10 clear 24100 20 border not pi: ink not pi: paper not pi: cls 30 load "diskload.bin" code 24100 40 randomize usr 24100
10 COLOR 15,4,7 20 SCREEN 2,0 30 CLS 40 SPRITE$(0)=CHR$(&B00000000)+CHR$(&B00000000)+CHR$(&B00100100)+CHR$(&B00111100)+CHR$(&B01011010)+CHR$(&B10011001)+CHR$(&B01111110)+CHR$(&B00100100) 50 PUT SPRITE 0,(5,70) 60 FOR X=11 TO 256 STEP 3 70 PUT SPRITE 0,(X,SIN(X/4)*20+70) 80 NEXT X
0 input"combine lines";l,u 1 def fn deek(c)=peek(c)+256*peek(c+1):c=fn deek(43):e=fn deek(45)-4 2 lt=fn deek(c+2) 3 if lt<l then c=fn deek(c):goto 2 4 if lt>l then print "line not found":end 5 s=c:c=c+4 6 if peek(c)>0 then c=c+l:goto 6 7 if peek(c+2)=0 goto 13 8 lt=fn deek(c+3):if lt<=u then print lt 9 if lt<=...
ClLCD Disp " Quadratic Equation" Disp "Solver by Gideon Tong" Disp "Solving:" Menu(1,"Formula",QUDRTC,2,"Discriminant",DISCR,3,"Vertex",VETX,5,"Exit",BYE) Lbl QUDRTC Outpt(3,10,"Formula") Input "a is ",aa Input "b is ",bb Input "c is ",cc bb²-4(aa)(cc)dd √dddd 2(aa)ee (-bb+dd)/22abc (-bb-dd)/eebbc Disp "The x' are...
Operation =1 Option =0 Where ="(((dbo_ProjectHeader.DocketNum) Is Not Null) AND ((dbo_ProjectHeader.Void)=False" ") AND ((dbo_ProjectHeader.InvoiceNum) Is Null)) OR (((dbo_ProjectHeader.DocketNu" "m) Is Not Null) AND ((dbo_ProjectHeader.Void)=False) AND ((dbo_ProjectHeader.Inv" "oiceNum) Is Not Null) AND (...
Version =20 VersionRequired =20 Begin Form AllowDesignChanges = NotDefault TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =11175 DatasheetFontHeight =10 ItemSuffix =18 Left =870 Top =1410 Right =12330 Bottom =4830 Dat...
'==============PROGRAM TO SETUP NFL SEASON STATS 8/2002 '==============NAME:NFZ.BAS DIM T$(1:17),F$(1:17),A$(1:17),NUM(1:32),D(1:2),T(1:2) '------------------------------- OPEN "C:\FB\FBNUM.DAT" FOR INPUT AS #1 FOR K=1 TO 32 INPUT #1,NUM(K) NEXT CLOSE 1 '------------------------------- OPEN "C:\FB\SCHEDULE....
10 PRINT "HELLO WORLD" 20 GOTO 10
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"...
1 %TITLE "Items Shipped Summary Report" %SBTTL "OE_RPRT_SHIPITEM" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1991 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! th...
10 PRINT "PROGRAM FILE 8: EXCEPTION - TAB ARGUMENT" 15 PRINT " LESS THAN ONE." 20 PRINT " ANSI STANDARD 12.5" 50 PRINT 60 PRINT "TO PASS THIS TEST:" 65 PRINT 70 PRINT " 1) A MESSAGE IDENTIFYING THE EXCEPTIONS MUST BE" 75 PRINT " DISPLAYED, AND" 80 PRINT 85 PRINT " 2) THE ARGUMENT TO TAB MUST BE RE...
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...
20 OPEN "σΑΪΑΞ" FOR OUTPUT AS#1 30 R=123.789:K$="λRA,,N;W2" 40 I$=CHR$(34) 50 PRINT #1,R;",";I$;K$;I$ 60 CLOSE #1 
_TITLE "Soduko Solver" SCREEN 12 crlf$ = CHR$(13) + CHR$(10) GOSUB makebg DO REDIM SHARED puzzle(9, 9) DIM SHARED finflag DO _LIMIT 64 GOSUB board COLOR 15, 0 LOCATE 1, 1 PRINT "Enter what you know then press Enter" k$ = INKEY$ IF k$ >= CHR$(49) AND k$...
SUB TOEPLZ (R(), X(), Y(), N) DIM G(N), H(N) IF R(N) <> 0! THEN X(1) = Y(1) / R(N) IF N = 1 THEN ERASE H, G: EXIT SUB G(1) = R(N - 1) / R(N) H(1) = R(N + 1) / R(N) FOR M = 1 TO N M1 = M + 1 SXN = -Y(M1) SD = -R(N) FOR J = 1 TO M SXN = SXN + R(N + M1 - J) * X(J) SD = SD...
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p. 10 'Mandelbrot Tree, Backtracking 20 'Name: TREEM 30 SCREEN 12, 0, 0, 0: CLS : pi = 3.141593 40 WINDOW (-9.5, -3)-(10.5, 12) 45 COLOR 15: LOCATE 1, 1: PRINT "Mandelbrot tree, backtrack method" 50 p = 11: DIM x1(p), y1(p), x2(p), y2(p), u1(p), v1(p),...
1 mode 1:REM ** "The Treasure of McDooby's Mansion" Version 2.0 2 defint a-z 3 PRINT TAB(10);"****************************" 4 PRINT TAB(10);"* The Treasure of *" 5 PRINT TAB(10);"* McDooby's Mansion *" 6 PRINT TAB(10);"* Version 2 *" 7 PRINT TAB(10);"* By: Jason Wells *";TAB(10);...
CLS OPEN "hello.in" FOR INPUT AS #1 OPEN "hello.out" FOR OUTPUT AS #2 FOR i = 1 TO 100 PRINT #2, "hello" NEXT i CLOSE #1, #2 END
'********** MAP.BAS - memory map utility 'Copyright (c) 1989 Crescent Software, written by Robert L. Hummel ' Usage: MAP [/D] --- The /D option tells Map to show additional details. ' '---- Map prints information about the DOS memory map. It works only for ' real (640K) memory, and it includes the segments of ...
11 systems / 24 / 24 / 24 / 24 / 24 / 24 / 24 / 24 / 24 / 24 / 24 / 24 / / 6 bars | 4.4 | 3 | 4 | 3 | 4 | 3 | | is1.2 Shostakovic Preludes and Fugues op87 b0.5 Moderato rs0.5 (mm 92) =1 bass 3/4 cro c~ cro. c~ qua c~ I0.05 p i0.05 dolce | =1 cro c~ min c~ | bl0.9 Prelude ...
100 DIM P(20,20), M(20,20), Z(20,20), A(1,20), B(1,20) 110 120 READ N 130 MAT READ P(N,N) 140 MAT Z = IDN(N,N) 150 160 PRINT "TRANSITION PROBABILITIES" 170 PRINT 180 MAT PRINT P; 190 200 MAT Z = Z-P 210 FOR I = 1 TO N 220 LET Z(I,N) = 1 230 NEXT I 240 MAT M = INV(Z) 245 MAT A = ZER(1,N) 250 FOR J = 1 TO N 260 LET A(1,J...
NOMAINWIN [Win000] WindowWidth = 500 : WindowHeight = 350 DW = DisplayWidth : DH = DisplayHeight : WW = WindowWidth : WH = WindowHeight UpperLeftX = int((DW-WW)/2) : UpperLeftY = int((DH-WH)/2) : BackgroundColor$ = "lightgray" Win000 = 1 MENU #Win000, "File", "Exit", [end_win000] STATICTEXT #Win000.Text001...
1 %TITLE "General Ledger Financial Report Writer" %SBTTL "GL_ASCI_CHART" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 2000 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 in...
940 REM The IBM Personal Computer Piechart 950 REM Version 1.10 (C)Copyright IBM Corp 1981, 1982 960 REM Licensed Material - Program Property of IBM 975 DEF SEG 980 SAMPLES$="NO" 990 GOTO 1010 1000 SAMPLES$="YES" 1010 KEY OFF:SCREEN 0,1:COLOR 15,0,0:WIDTH 40:CLS:LOCATE 5,19:PRINT "IBM" 1020 LOCATE 7,12,0:PRINT ...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowEdits = NotDefault DataEntry = NotDefault AllowDesignChanges = NotDefault DefaultView =0 Scr...
10 REM This is a test 20 LET A=RND(1) 30 LET B=INT(RND(10)) 40 PRINT A,B 90 STOP 99 END
5 RANDOM:PRINT "YOU ARE NOW A PILOT IN A WORLD WAR II BOMBER" 10 INPUT "WHAT SIDE — ITALY(1), ALLIES(2). JAPANESE(3), GERMANY(4)";A 20 IF A>0 AND A<5 THEN 25 ELSE PRINT "TRY AGAIN...."\GOTO 10 25 ON A GOTO 30,110,200,220 30 INPUT "WHAT IS YOUR TARGET — ALBANIA(1), GREECE(2), NORTH AFRICA(3) ";B 40 IF B>0 AND B<4 THEN 4...
10 DEF SEG=&HB000 20 I=0 30 POKE I,255*RND 40 I=I+15 50 GOTO 30 
Version =20 VersionRequired =20 Begin Form MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault AllowAdditions = NotDefault ScrollBars =2 ViewsAllowed =1 TabularFamily =0 Bord...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault DefaultView =0 ViewsAllowed =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =4140 DatasheetFontHeight =11 Item...
CLS DATA 16,77,42,61,22,19,84 REM This program reads in a series of 7 REM numbers and finds the sum FOR i = 1 TO 7 READ x z = z + x NEXT i PRINT z END
1 %TITLE "PR Total Managers Report" %SBTTL "PR_RPRT_WEEKMGR" %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 inc...
!-------------------------------------------------- !- Saturday, May 20, 2017 1:36:12 AM !- Import of : !- c:\src\zelch128\extras\gam.tic tac toe.prg !- Commodore 128 BASIC 7/7.1 !-------------------------------------------------- 1 PRINT:GOTO61000 2200 GETKEYAN$:IFINSTR("abcdefghijklmnopqrstuvwxyz",AN$)THENAN$...
CLS DO INPUT "Kui palju numbreid Sa tahaksid sisestada"; ammount IF ammount < 5000 THEN EXIT DO LOOP REDIM nums(ammount) FOR i = 1 TO ammount INPUT "Sisesta number"; q nums(i) = q NEXT ''''' MAX ''''' ''''''''''''''''' max = nums(1) FOR i = 1 TO ammount IF nums(i) > max THEN max = nums(i) NEXT ''''' MIN '''...
_SCREENHIDE _TITLE "Clock" SCREEN 13 icon = _LOADIMAGE("..\resources\jarvis.png") _ICON icon SCREEN 12 _SCREENSHOW FOR angle = 0 TO 360 STEP 30 PSET (320, 240), 6 DRAW "TA=" + VARPTR$(angle) + "BU180" CIRCLE STEP(0, 0), 15, 12 DRAW "P9, 12" NEXT DO sec$ = RIGHT$(TIME$, 2) sdegree$ = STR$(VAL(sec...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 Width =16110 DatasheetFontHeight =11 ItemSuffix ...
10 CLEAR 1000,&H7DFF:WIDTH 32:POKE &HFF03,&H34 20 FOR X=&H7E00 TO &H7E1A:READ N$:POKE X,VAL("&H"+N$):NEXT X 30 P=VARPTR(N$)+3:POKE P-3,128:POKE P-1,127 40 OPEN"O",1,"COCO3.ROM":PRINT #1,CHR$(0);CHR$(128); 50 FOR B=128 TO 253:POKE &H7E0A,B:EXEC &H7E00 60 POKE P,0:PRINT #1,N$;:POKE P,128:PRINT #1,N$;:NEXT B:CLOSE ...
DIM SHARED k$, x, y, r, wall(27, 80) 'k$ = Tastatureingaben; x, y = Spielerposition; r = Richtung, wall(x,y) = Bildschirm-Feld DIM SHARED xb, yb, count, b, p%, countdown, speed 'b = Anzahl der Bomben; p% = Bombenst„rke DIM SHARED xf, yf, rf, yfold, xfold, enemykilled, file$, path$ DECLARE SUB tast () DECLARE SUB wallse...
CLS filename$ = "latin.bmp" OPEN filename$ FOR BINARY AS #1 header$ = SPACE$(14) sizing$ = SPACE$(4) GET #1, 1, header$ GET #1, 15, sizing$ bmpinfosize = CVI(sizing$) 'bmpinfosize - Is the size of the information header for the bitmap. ' Different bitmap versions have variations in filetypes. ' ...
'Errechnet die Primzahlen bis zur angegebenen Zahl SCREEN 12 DIM a%(32760) u = 1 INPUT "Bis zu welcher Zahl soll gerechnet werden (5-100000)"; bis PRINT "2 "; FOR z = 3 TO bis STEP 2 w = 1 FOR x = 0 TO u - 1 IF z MOD a%(x) = 0 THEN w = 0 NEXT x IF w = 1 THEN PRINT z; : a%(u) = z: u = u + 1 NEXT z ...
REM --------------------------------------------------- REM REM FOR2.BAS REM REM USE OF THE FOR STATEMENT, SECOND EXAMPLE REM REM AUTHOR: ANDRE MURTA REM DATE: 20/12/1992 REM REM DEVELOPED AT CENTRO DE ENSINO SUPERIOR DO PARA REM REM --------------------------------------------------- DIM vet(10,10) FOR x=1 TO 2 FOR ...
NAME neos-1420546 FREEIEEE XL C0064 R0001 ++3iQ6Sr6uq4 XL C0066 R0002 204NNdoB9Y+8 XL C0068 R0003 Z+3Ch2KlatLc XL C0070 R0004 ++33Fdj2bOC6 XL C0072 R0005 204P023y4xj8 XL C0074 R0006 204nv1LldAXf XL C0076 R0007 ...
Version =20 VersionRequired =20 Begin Form DefaultView =0 TabularFamily =103 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =19380 DatasheetFontHeight =10 ItemSuffix =4 Right =13515 Bottom =7605 DatasheetGridlinesColor =12632256 RecSrcDt ...
Attribute VB_Name = "modLog" Private Declare Function FindFirstFile Lib "kernel32" Alias "FindFirstFileA" (ByVal lpFileName As String, lpFindFileData As WIN32_FIND_DATA) As Long Private Declare Function FindClose Lib "kernel32" (ByVal hFindFile As Long) As Long Public Declare Function GetPrivateProfileString Lib "kerne...
1 ARUN : LOCK : DEGREE 5 WAIT 0: RESTORE 50: FOR I=1 TO 4: READ A$: PRINT A$ 15 FOR J=1 TO 60:A$=INKEY$ : IF LEN A$ LET J=60 20 NEXT J: IF A$="" THEN 35 25 K=0: FOR J=1 TO 4: IF MID$ ("1234",J,1)=A$ LET K=J:J=4 30 NEXT J 31 IF K CLS : GOTO A$ 35 NEXT I: IF RND 9>1 THEN 5 40 K=RND 3+1:A$=STR$ K: GOTO 31 45 GOT...
'blitz: es werden zufalls-wegeteilchen erzeugt. der blitz bewegt sich immer 'nach unten zum n„chstgelegenen wegeteilchen fort. DIM n(16000), m(16000) RANDOMIZE TIMER SCREEN 12 anz = 2000 'anzahl der wegeteilchen max.16000 blz = 5 'anzahl der blitzenden jeweils oben und unten br = 640...
Attribute VB_Name = "MainMod" Option Explicit Public Const GoalFPS As Long = 60 Public Const MPF As Currency = 1000 / GoalFPS Public Const ShowBrushOnHand As Boolean = False Public Const HideCursor As Boolean = False Public Const DoSubClassing As Boolean = False Public Const DoConstantBGCDrawing As Boole...
rem -*- mode: basic -*- Option Explicit ' global variables dim G_CI_REG_V as integer dim G_CI_PC_POS as integer dim G_CI_SP_POS as integer dim G_CI_MEM_MAIN as integer dim G_CI_MEM_STACK as integer dim G_CI_MEM_VRAM as integer dim G_RI_MEM_VIEW as integer dim G_RI_MEM as integer dim STACK_SIZE as integer dim mem_ca...