text
stringlengths
7
5.36M
CLS DIM people(5) AS STRING 'initialization people(1) = "Ram" people(2) = "Sita" people(3) = "Hari" people(4) = "Shyam" people(5) = "Rita" INPUT "Enter a name"; name$ FOR x% = 1 TO 5 IF name$ = people(x%) THEN PRINT people(x%); " is found in index"; x% GOTO LINE25 END IF PRINT x% ...
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...
Version =20 VersionRequired =20 Begin Report LayoutForPrint = NotDefault DefaultView =0 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =10080 DatasheetFontHeight =10 ItemSuffix =80 Left =390 DatasheetGri...
1 '000@08030100X0<0ウyエユcヘvヌYZトニjナヨSKオエbcヘ\ロアケツキケJッFmyエルaスエヌ9=ヘVhz゙gオツgモm^BロeNヘWサYヨハ 2 'ロヘSdクヘEォ^Rォp4ャdォナキ0IHノGォ^Vタ9クツ0R]p2P>\aK<7a0186S:0Cta\0ニS4ネCJ03NォwCaャpャサ0ュpIクトシ0O@Vミ3I<gP0CヒリヌfIナv3ラsリmgPッ8`1P1サ<L0s@pオチネxF_ユラ0vン2007h@00o1003L8000 3 O=#C04:I=0:D=#800 4 S=I%8:A=PEEK(O+I):A=A-(1+(A>#AA))*#30:IFSV=A>>(7-S)|C:POKED,V:D...
5 rem ***requires simons' basic*** 10 hires 0,1 15 for z=0 to 100 step 10 20 for x=0 to 2*pi step .05 30 plot sin(x)*z+150,cos(x)*60+100,1 40 next x,z 50 pause 10
1 'CONTROLE DE ESTOQUE - 1990 v1.1 2 'LONGO SANTANA 3 ' 4 DATACD,A8,00,32,77,F3,C9 5 CLEAR16000,&HF36F:ONERRORGOTO146:ONSTOPGOSUB147:STOPON:ONKEYGOSUB148,149,150,151:KEY(1)ON:KEY(2)ON:KEY(3)OFF:KEY(4)OFF:FORF=0TO6:READA$:POKE(&HF370+F),VAL("&H"+A$):NEXTF:DEFUSR=&HF370 6 SC=0:SCREEN0,,SC:WIDTH40:KEYOFF:COLOR7,1,1:...
CLS n = 1 a = 550 B = 390 SCREEN 12 VIEW (0, 0)-(600, 400), 14 5 LINE (0, 0)-(600, 30), 14, BF LINE (a, B)-(a + 5, B + 5), 4, BF IF a > 190 AND a < 260 AND B > 290 AND B < 360 THEN 6 IF a > 90 AND a < 140 AND B > 80 AND B < 130 THEN 6 IF a > 90 AND a < 140 AND B > 180 AND B < 230 THEN 6 IF n > 2 THEN 7 6 L...
REM @english REM OTHER CONTRIBUTIONS IF SPEED TEST REM REM Speed test: ANDing two conditions in IF statement. REM Which solution is the fastest? REM Original post: https://www.facebook.com/groups/2057165187928233/posts/3451955151782556/ REM REM @italian REM VARI ALTRI CONTRIBUTI SPEED TEST DI IF REM REM Te...
CLS OPEN "first.in" FOR INPUT AS #1 OPEN "first.out" FOR OUTPUT AS #2 INPUT #1, a$ PRINT #2, a$ CLOSE #1, #2 END
\*********************************************************************** \*********************************************************************** \*** \*** DESCRIPTION: Dallas UOD Index file (WHINDX) \*** Public File Function Definitions \*** \*** FILE TYPE : Direct \*** \*************************...
'Gravity by Flare183 DECLARE FUNCTION GetDelay% () DECLARE SUB ReGenerate (TIMes%) DECLARE SUB PlotStart (TIMes%) DECLARE SUB CloseUp () DECLARE FUNCTION RandNum! (u%) TYPE PixelType XPos AS INTEGER Ypos AS INTEGER Dir AS INTEGER Xincr AS INTEGER yincr AS INTEGER Col AS INTEGER END TYPE TYPE...
5 HOME 10 PRINT "LOADING MONKEY V0.02" 20 PRINT:PRINT 40 PRINT "CONTROLS: " 42 PRINT " MOVE CURSOR : ARROWS OR WASD" 44 PRINT " FORWARD/ACTION : ENTER" 46 PRINT " JOYSTICK : J" 48 PRINT 50 PRINT " G=GIVE P=PICK UP U=USE" 52 PRINT " O=OPEN L=LOOK AT H=PUSH" 54 PRINT " C=CLOSE T=TA...
'********** DEMOSTR.BAS - demonstrates compressing strings in memory ' 'Copyright (c) 1992 Fred Sexton Jr. DEFINT A-Z '$INCLUDE: 'ERRCODES.BI' 'defines the ErrCode strings CLS FOR X = 1 TO 100 Test$ = Test$ + "abcdefghijklmn" 'create a long string NEXT PRINT Test$ PRINT PRINT "This string uses"...
0 REM Reconfiguration Upload Program 0 REM defaults setting for mode 0 REM uncomment the one you want to use as default 0 REM service slave 2 1010 0 REM service master 3110 0 REM cable slave 1010 0 REM cable master 3010 0 REM idle 0010 0 REM $3 stores the mode configuration 0 REM $3[0] = 0 48 means idle...
10 SCREEN 1,0 20 A$="Microsoft" 30 FORI=1TOLEN(A$):B$=MID$(A$,I,1) 50 VPOKEBASE(1*5+4)+8*2+(I-1),ASC(B$) 60 NEXT 70 PRINT SPRITE$(2) 
REM Joshua Hipple - Project 3.11 REM Take length and width of rectange, pring area and perimeter CLS GOSUB GetInput DO WHILE Width <> 0 OR Length <> 0 GOSUB CalcNumbers GOSUB ResultPrint GOSUB GetInput LOOP END REM ** GetsInput ** REM ** Takes input of width and height ** GetInput: IN...
1 PRINT CHR$(147) 5 PRINT "WELCOME TO THE F1 CHAMPIONSHIP RANDOMIZER" 10 INPUT "HOW LONG WILL THE CALENDAR BE? :";X 15 DIM C$(X,3) 20 DIM D$(20) 30 D$(1) = "HAM" 40 D$(2) = "BOT" 50 D$(3) = "VET" 60 D$(4) = "LEC" 70 D$(5) = "VER" 80 D$(6) = "ALB" 90 D$(7) = "PER" 100 D$(8) = "STR" 110 D$(9) = "RIC" 120 D$(10) = "OCO" 1...
Version =20 VersionRequired =20 Begin Form AutoResize = NotDefault PopUp = NotDefault Modal = NotDefault RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault DefaultView =0 ScrollBars =0 ViewsAllowed =1 TabularFamily ...
Auto 1 # Run-time Variables Var c: Num = 3000 Var i: NumFOR = 11, 10, 1, 20, 2 Var a$: Str = "Polygon" # End Run-time Variables 10 CLS 20 FOR i=1 TO 10 30 READ a$,c 40 PRINT a$ 50 PLOT 128,13 60 DRAW 0,150,c 70 PRINT AT 21,0;"Press any key":\ PAUSE 0 80 CLS 90 NEXT i 100 ...
Attribute VB_Name = "m_KONSTANTEN" Option Explicit Option Base 1 ' Jahre mit Resultat statisches Modell ' Es gibt keine Modelle für die Jahre 2011 und 2012 ' anschliessend jährliche Modelle ' DIE ANZAHL JAHRE MUSS VON HAND ANGEPASST WERDEN.... Function JAHRE_STATISCHES_MODELL() As Variant Dim res() As Variant ...
10 REM TEST MULTILINE USER FUNCTION 20 PRINT "START" 30 A = FNA(100) 40 PRINT "A IS:"; A 90 PRINT "END" 100 DEF FNA(H) 110 PRINT "START FNA()" 120 FNA = H - 9 125 GOTO 200 130 PRINT "END FNA()" 140 FNEND 200 PRINT "END PROGRAM" 999 END
5 'from Lauwerier H., 1991. "Fractals Images of Chaos" Penguin 209p. 10 'Rotating and Reducing Polygon 20 'Name: WHIRL 30 SCREEN 12, 0, 0, 0: CLS : pi = 3.141593 40 WINDOW (-4 / 3, -1)-(4 / 3, 1) 50 PRINT "Select number of sides" 60 INPUT p: CLS : DIM x(p), y(p) 65 COLOR 15: LOCATE 1, 1: PRINT "Rotating and shrinking...
10 REM SKIFF by FRANCESCO FIORENTINI - Gennaio 2020 15 GOSUB 600:REM DISEGNA BANDIERA E ALBERO 24 REM DEFINISCE OGGETTI 25 SHIP$=" "+CHR$(248)+" " 26 TREE$=CHR$(255) 27 STONE$=CHR$(253) 30 REM INIZIALIZZA I PARAMETRI DEL GIOCO 35 GOSUB 2000:REM MENU INIZIALE 36 GOSUB 2400:REM PARAMETRI LIVELLO 38 REM INIZIALIZZA I V...
DECLARE FUNCTION EQUIV% (J!, K!) SUB ECLAZZ (NF(), N, DUM) NF(1) = 1 FOR JJ = 2 TO N NF(JJ) = JJ FOR KK = 1 TO JJ - 1 NF(KK) = NF(NF(KK)) IF EQUIV%(JJ, KK) THEN NF(NF(NF(KK))) = JJ NEXT KK NEXT JJ FOR JJ = 1 TO N NF(JJ) = NF(NF(JJ)) NEXT JJ END SUB
'/////////////////////////////////////////////////////////////////////////////// '// '// Przyklad jak odczytac date utworzenia klucza (o ile byla ustawiona) '// '// Wersja : PELock v2.0 '// Jezyk : PowerBASIC '// Autor : Bartosz Wójcik (support@pelock.com) '// Strona domowa : https://www.pelo...
SOURCE PRECISION= 7 AUTODEF=ON OPTION BASE=0 ERL=OFF ERRORMODE=LOCAL RESUME=LINE FORMODE=BB PRINTMODE=BB SCOPE=ON PROCS=22 INTEGER ARRAY(60): Flagga BYTE ARRAY(35): Pryl 'inventory? BYTE ARRAY(101): Jack INTEGER: A,A1,A1%,A2%,B,D,E,E1 INTEGER: G,I,I%,I1,J,M2%,M3%,S INTEGER: X,X%,X1,X2,Z,Poang,Maxpoang STRING: A$[80],A1...
RANDOMIZE TIMER kolor = 1 + INT(RND * 7) COLOR kolor + 8: CLS com$ = COMMAND$ SELECT CASE com$ CASE "" INPUT "Enter down and up limit :", downlimit%, uplimit% CASE ELSE IF INSTR(com$, ",") = 0 THEN PRINT "Syntax: PRIME num1 , num2" END END IF comma = INSTR(com...
10 cls 20 for y=0 to 24 30 for x=0 to 39 31 color x+32+y/2, rnd(255) 40 locate x,y 41 a=x*y%40+33 42 b=rnd(26) + 65 43 print chr(b); 45 if y=24 then 46 if x=37 then 47 goto 70 48 end 49 end 50 next 60 next 70 locate 0,0 80 print "Hello, World"
5 CLS 10 X=20:Y=10:DX=0:DY=0 11 blt$="." 12 reach=12 20 GOSUB 1000 30 K=ISER(0) 40 IF K=97 THEN X=X-2:DX=-2:DY=0 50 IF K=100 THEN X=X+2:DX=2:DY=0 60 IF K=119 THEN Y=Y-1:DX=0:DY=-1 70 IF K=115 THEN Y=Y+1:DX=0:DY=1 75 IF k<>32 then 80 77 gosub 4000 80 IF CHR$(K)="q" THEN 999 90 if DX=0 then 110 100 gosub 20...
CLS DIM q(0) AS STRING * 1 gen = 100 PRINT "Bereite Dateien vor ."; OPEN "c:\pi\ecken.num" FOR OUTPUT AS #1 OPEN "c:\pi\llaenge.num" FOR OUTPUT AS #2 OPEN "c:\pi\mlaenge.num" FOR OUTPUT AS #3 FOR x = 1 TO gen PRINT #1, "0"; PRINT #2, "0"; PRINT #3, "0"; NEXT x CLOSE PRINT "."; OPEN "c:\pi\x1.num" FOR O...
10 REM THE PROGRAM THAT FOLLOWS IS A RECONSTRUCTION 20 REM OF THE OREGON TRAIL GAME WRITTEN FOR HP TIME-SHARED 30 REM BASIC BY DON RAWITSCH AND BILL HEINEMANN AND PAUL DILLENBERGER 40 REM IN 1971. ITS SOURCE IS AN UPDATED VERSION PUBLISHED IN THE 45 REM JULY-AUGUST 1978 ISSUE OF CREATIVE COMPUTING AND POSTED BY 4...
' EndBASIC ' Copyright 2020 Julio Merino ' ' 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 agreed t...
' Multiplication master | IchigoCake BASIC 0.9.8-RC3+ ' Copyright (c) 2020 Keiichi Shiga (BALLOON | FU-SEN) ' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2020 10 'カケザン マスター 20 A=5:B=2 30 C=A:D=B:CLS 40 IF A>B C=B:D=A 50 LC B,0:FOR I=1 TO A 60 J=RND(10) 70 IF I=1 AND J=0 GOTO 60 80 ?J;:NEXT:LC C-1,1:?"x"; 9...
10 REM From https://en.wikipedia.org/wiki/Rugg/Feldman_benchmarks 300 PRINT"S" 400 K=0 500 K=K+1 600 IF K<1000 THEN 500 700 PRINT"E" 800 END
10 PRINT TAB(30);"COFFEE TIME" 20 PRINT TAB(10);"LUCKY NUMBER OR UNSPORTSMANLIKE CONDUCT BUYS." 30 PRINT TAB(10);"PLEASE DO THE FOLLOWING...." 40 LET D=0 50 LET B=0 60 LET L=0 70 LET H=999 80 PRINT TAB(10)"TYPE ANY NUMBER BETWEEN 1 AND 999 .. "; 90 INPUT N 100 IF N<1 THEN 270 110 IF N>999...
' ======================================================================================== ' Demonstrates the use of the transformNode method. ' ======================================================================================== #DIM ALL #COMPILE EXE #INCLUDE ONCE "msxml.inc" #INCLUDE ONCE "ole2utils.inc" ' ====...
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault DefaultView =0 ScrollBars =0 TabularFamily =126 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =5760 DatasheetFo...
100 '数秘術占い 2019.08.16 110 '改変履歴 120 '2021.03.31 α版 画面背景アップデート 130 '2021.04.02 β版 更にアップデート音声追加 140 '2021.04.03 β2版 画面表示拡張 150 '変数定義 パート 160 'Main画面 170 Main_Screen: 180 cls 3 190 '描画領域 ここから 200 '1行 210 line (0,0) - (850,60),rgb(0,0,255),bf 220 line (0,0) - (850,63),rgb(0,255,0),b 230 '2行 240 line (0,60) - ...
10 FOR I = 1 TO 5 20 READ P(I) 30 NEXT I 40 DATA 1.20,2.15,0.65,4.30,2.00 100 LET S = 0 110 FOR I = 1 TO 5 120 READ N 130 LET S = S + N*P(I) 140 NEXT I 150 PRINT "TOTAL ORDER $" S 900 DATA 5,3,0,2,2 999 END
dbMemo "SQL" ="SELECT ssd_JBFsJoblets.JBFJobletID AS Expr1, ssd_JBFsJoblets.JBFID AS Expr2, ssd" "_JBFsJoblets.JobletID AS Expr3, ssd_JBFsJoblets.AlterName AS Expr4, ssd_JBFsJobl" "ets.Description AS Expr5, ssd_JBFsJoblets.ViewOrder AS Expr6, ssd_JBFsJoblets.Is" "Visible AS Expr7, ssd_JBFsJoblets.PageFlowS...
100 '************************************************************* 110 'GET and PUT operations are limited to 2047 bytes 120 '************************************************************* 130 PRINT "The next line should be: 56789" 140 IF EXIST("Test.Bin") THEN KILL"Test.Bin" 150 OPEN "Test.Bin" FOR BIN...
ON ERROR GOTO er CLS DIM i(0) AS STRING * 1 d1$ = "c:\vesdemo\test.txt" 'Quelldatei d2$ = "c:\vesdemo\test1.txt" 'Zieldatei v = 1 '1 - Verschlsseln; 2 - Entschlsseln p$ = " Fetz ab! " 'Passwort ue = 0 'wenn u...
'Converts 40-column text files to prerendered composite text with attributes. '$INCLUDE: 'libelf.bi' DEFINT A-Z DECLARE SUB hudprint (x%, text$, colour1%, colour2%) DECLARE SUB initLookUps () initLookUps OPEN "ducktext.ctt" FOR BINARY AS #2 OPEN "..\convert\hudtext.txt" FOR INPUT AS #1 DO INPUT #1, n IF n > -...
KEY 15, CHR$(4 + 128 + 32 + 64) + CHR$(70) KEY 16, CHR$(4 + 128) + CHR$(70): KEY 17, CHR$(4 + 128 + 32) + CHR$(70): KEY 18, CHR$(4 + 128 + 64) + CHR$(70): KEY 19, CHR$(4) + CHR$(70) KEY 22, CHR$(4 + 64) + CHR$(70) KEY 23, CHR$(4 + 32) + CHR$(46) KEY 24, CHR$(4 + 64) + CHR$(46) KEY 25, CHR$(4 + 32 + 64) + CHR$(4...
'Start Standard Section ' Axis Parameters BASE(0) UNITS=100.994894 ACCEL=32 CREEP=1 D_GAIN=0 DATUM_IN=-1 DECEL=45 FE_LIMIT=300 FHOLD_IN=-1 FS_LIMIT=4000000000 FWD_IN=-1 I_GAIN=0 JOGSPEED=1 OV_GAIN=0 P_GAIN=0.116 REP_DIST=2000000000 REV_IN=-1 RS_LIMIT=-4000000000 SERVO=1 SPEED=20 VFF_GAIN=0 BASE...
5 REM PWM2.BAS - Demo of PWM using 2 ports 10 FOR N=1 TO 10 20 FOR A=0 TO 255 30 AOUT 6=A 40 LET C=255-A 50 AOUT 5=A 60 SLEEP 5 70 NEXT A 80 FOR B=255 TO 0 STEP -1 90 AOUT 6=B 100 LET C=255-B 110 AOUT 5=B 120 SLEEP 5 130 NEXT B 140 NEXT N
1 ' New System Menu (GFX) 2 CLS : SCREEN 2 : BLITT 2 5 DIM MT$(3) : MT$(1)="Settings" : MT$(2)="Applications" : MT$(3)="Medias" 6 DIM ITMS(20) : ' items indexes 7 GOSUB 6000 10 DRAWSPRT "SYSMENU",0,0,32,32,0,0 20 BLITT 0 : CLS : RECT 0,0,320,240,2,1 : ' CLS to release text 25 Y = 64 : CH = 1 : ' 2nd item by def. 28 ' I...
Attribute VB_Name = "vbtdefs" Option Explicit ' Priority cleanup: ' collections instead of .item, .add, ... ' invalid .exe path, display better message ' implement error processing, show offending line, proc, module name ' document overview, routines ' lookup routines vars, declares, ... ' Implement "Make Project Grou...
REM --------------------------------------------------- REM DATA STORE SECTION REM --------------------------------------------------- DATA 18000,18500,1967,2708,1,1,0 DATA 40000,44894,10699,13047,3,2,0 DATA 95000,115000,20614,15849,3,3,0 DATA 54000,63000,10000,14000,2,4,0 DATA 40000,50000,10000,12000,3,5,0 DATA 75000,...
10 INPUT 'x ',x 20 PRINT BIN$ x 30 PRINT OCT$ x 40 PRINT STR$ x 50 PRINT HEX$ x 60 GOTO 10
10 REM CHECK THAT PROGRAM IS REJECTED WITH LINES AFTER END STATEMENT 15 GOTO 30 20 END 30 REM HELLO 40 END
Version =21 VersionRequired =20 Begin Form RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault OrderByOn = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularCharSet =204 PictureAlignment =2 DatasheetGridlinesBehavior =3 Cycle =1 ...
Attribute VB_Name = "modTestCases" Option Explicit '@NO-LINT ' This module exists solely to list test conversion caess to make sure the converter can convert itself containing them. ' There should be no active and/or used code in this module. ' These tests are not run, they are conversion tests. They should be ...
1 CLS 2 INPUT "PICK A NUMBER BETWEEN -32767 AND 32767: ", A 3 RANDOMIZE A 4 LET WORDS = 80 5 DIM A$(WORDS) 10 FOR A = 1 TO WORDS 20 READ A$(A) 30 NEXT A 40 CLS 50 LET C$ = "" 60 LET D$ = "" 100 ' SUB INITIALIZE 110 LET A = INT(RND * WORDS) + 1 120 LET A$ = A$(A) 200 ' SUB SETUP 210 LET A = LEN(A$) 22...
10 DSKCON=PEEK(&HC004)*256+PEEK(&HC005) 20 POKE&HE073,63:PALETTE0,63:PALETTE1,36:PALETTE2,9:PALETTE3,0:POKE&HE06C,PEEK(&HE06C) OR 32:HSCREEN1 30 CLEAR200,&H5FFF:POKE&HFFA3,0:CLEAR200,&H7FFF 40 POKE&HFFA2,2:X=&HEA 50 POKEX,2:POKEX+1,0:POKEX+2,29:POKEX+3,8:POKEX+4,&H40:POKEX+5,0 60 EXEC 55135 70 POKE&HFFA2,10:POK...
Version =20 VersionRequired =20 PublishOption =1 Checksum =-189163970 Begin Form Modal = NotDefault RecordSelectors = NotDefault AllowDeletions = NotDefault DividingLines = NotDefault AllowAdditions = NotDefault OrderByOn = NotDefault AllowEdits = NotDefault AllowDesignChanges = NotDefa...
Version =20 VersionRequired =20 PublishOption =1 Checksum =-710883913 Begin Report LayoutForPrint = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault PageHeader =1 DateGrouping =1 GrpKeepTogether =1 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 ...
Attribute VB_Name = "Module1" Sub dibuatoleh() Worksheets("HOME").Range("C12").Value = "Oleh : BASRI,S.Pd.SD" Worksheets("HOME").Range("C13").Value = "No. Hp : 081352167345" Worksheets("DATA SEKOLAH ").Range("A20").Value = "Oleh : BASRI,S.Pd.SD" Worksheets("DATA SEKOLAH ").Range("A21").Value = "No. Hp ...
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...
Attribute VB_Name = "modJrnlCol_Forms" Option Compare Database Option Explicit Private Const THIS_NAME As String = "modJrnlCol_Forms" 'VGC 09/09/2017: CHANGES! 'tblJOURNAL_FIELD DOESN'T GET AUTOMATICALLY UPDATED!!! Private Const FRM_PAR As String = "frmJournal_Columns" 'Private Const FRM_SUB As String = ...
Operation =6 Option =0 Where ="(((qsub_Transect_species_detections_lg_parks.Panel_type)='Annual'))" Begin InputTables Name ="qsub_Transect_species_detections_lg_parks" End Begin OutputColumns Expression ="qsub_Transect_species_detections_lg_parks.Event_year" GroupLevel =2 Expression ="qsub_Transect_spe...
0 printchr$(142)chr$(8) 1 poke54296,15:poke54277,128:poke54278,128:poke54276,33 4 dima$(100):ht$="" 5 print"{clear}{blue}{down*5}{right*15}m*a*z*e" 6 poke53281,15:poke53280,9:print"{down}guide your man around the maze as fast {down} as possible"; 7 print" using keys":print"{down*2}{space*5}{reverse on}z{reverse of...
Attribute VB_Name = "MOD_Syncronize" Option Explicit Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As Integer wDay As Integer wHour As Integer wMinute As Integer wSecond As Integer wMilliseconds As Integer End Type Pri...
dbMemo "SQL" ="SELECT tbl_Locations.Unit_Code, Year([Start_Date]) AS Visit_Year, tbl_Locations." "Plot_ID, Transect.Transect, tbl_Locations.Area, Transect.E_Coord, Transect.N_Coo" "rd, Quadrat.Quadrat, Quadrat.IsSampled, Quadrat.NoExotics\015\012FROM tbl_Locati" "ons INNER JOIN ((tbl_Events INNER JOIN Tran...
1 %TITLE "Enter Purchases" %SBTTL "AP_MAST_PJ1" %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 ...
CLS SCREEN 12 y = -70 up = 0 q2 = 120 q1 = 90 q3 = 1 q4 = 31 DO FOR i = 1 TO 5000 NEXT i CIRCLE (310, 220), 100, 0, n3, n4 CIRCLE (310, 220), 80, 0, n1, n2 LINE STEP(0, 0)-STEP(x, y), 0 10 IF up = 0 THEN top = 0 y = y + 1 IF y > 65 THEN LET y = y - .6 IF y > 68 ...
IF rr(side) = 0 THEN COLOR 15: LOCATE 4, 68: PRINT "RAILROAD MOVE" PSET (550, 20), 0 DRAW "C15S6R9D4R6U3R3D3R7U5H3U2R9D3G2D6F1D3F5L10D1G1L4H2L7G2L3H2L3U9L2U5R1BF4" z = 9: IF side = 2 THEN z = 7 x = POINT(0): y = POINT(1) PAINT (x, y), z, 15 COLOR 15: IF side = 1 THEN COLOR 11 CALL traincapacity(side, limit) CA...
CLS PRINT "Pint to Quart Converter" PRINT PRINT "Enter pints to convert: "; INPUT Pint LET Quart = Pint / 2 PRINT Pint; "pints is equal to"; Quart; "quarts." END
10 PRINT "\X93" 20 PRINT CHR$(205.5+RND(1)); 40 GOTO 20
Version =20 VersionRequired =20 PublishOption =1 RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularCharSet =238 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 Width =20522 ...
a = 1 CLS SCREEN 12 a = 100 VIEW (10, 10)-(600, 400), 0 LINE (0, 300)-(600, 400), 6, BF 10 LINE (200, 300)-(210, 90), 8, BF LINE (210, 90)-(300, 190), 0, BF LINE (210, 100)-(300, a), 15 LINE (300, a)-(300, a + 50), 15 LINE (300, a + 50)-(210, 150), 15 IF b = 0 THEN a = a - 1 IF b = 2 THEN a = a + 1 IF a =...
10 HOME 20 HGR2 40 HCOLOR=6 30 FOR A=0 TO 191 50 HPLOT 0,A TO 279,A 60 NEXT A 90 END
Attribute VB_Name = "Módulo1" Sub duplicadas() Attribute duplicadas.VB_ProcData.VB_Invoke_Func = " \n14" Dim ARQUIVO Application.ScreenUpdating = False Application.DisplayAlerts = False Sheets("PORTAL").Select If Sheets("PORTAL").Cells(2, 1).Value <> "" Then Columns("BN:BO").Select Selection.Clear...
' Add Tabs - summary, data Private Sub add_tabs() Sheets("ms_sales").Select Sheets("ms_sales").Name = "data" Sheets.Add After:=Sheets(Sheets.Count) Sheets("Sheet1").Select Sheets("Sheet1").Name = "summary" End Sub ' Create Pivot Table - Range(A:X) Private Sub create_pivot_table() Sheets("data"...
Attribute VB_Name = "Module2" Dim STRI Public i As Integer Public strEmptyString As String Public B As Byte Public s As String Private Type ID3v1Tag id As String * 3 title As String * 30 Artist As String * 30 Album As String * 30 Year As String * 4 Comment As String * 30 Genre As Byte End ...
1 REM 2 REM INTRODUCTION TO COMPUTER PROGRAMMING BASIC FOR BEGINNERS 3 REM BY USBORNE BOOKS 4 REM https://usborne.com/browse-books/features/computer-and-coding-books/ 5 REM 10 INPUT K$ 20 IF K$="YES" THEN GOTO 100 30 IF K$="NO" THEN GOTO 200 40 STOP 100 PRINT "YOU TYPED YES" 110 STOP 200 PRINT "YOU TYPED NO" 210 END
!-------------------------------------------------- !- Wednesday, May 17, 2017 12:21:51 AM !- Import of : !- c:\src\zelch128next\prg.sysop.prg !- Unknown Machine !-------------------------------------------------- 30000 SYS15625:REM ================= SYSOP MODULE V3.0 ============= 09/10/93 = 30010 U=D(1,0):D=D...
10 SCREEN 0:WIDTH 80 20 VDP(9+1)=VDP(9+1) OR 128 30 POKE &HF3B1,27 40 FOR T=BASE(0)+(1920-80) TO BASE(0)+(1920-80)+240 50 VPOKE T,32:NEXT 
Attribute VB_Name = "NelderMeadF" Attribute VB_Description = "Module with Function that reduces an arbitrary function of 2 or more parameters." ' _ _ _ _ __ __ _ ______ ' | \ | | | | | | | \/ | | || ____| ' | \| | ___ | | ...
Attribute VB_Name = "MOD_Stats" Option Explicit Global updateMCS As String ' remote server version (on MIS in Config.McsCyberCafeProVersion) Global updateClt As String ' not got by the wbe svc anymore Global CacheVersionClient As String 'will contain the local file ver in the cache Global CacheV...
1 t=3 5 poke 53281,7:poke 53280,7:print "{brn}" 10 dim cc(1),ch(1),cb(1),s$(23),a$(t),x(t),y(t),xd(t),yd(t) 15 cc(0)=12:cc(1)=14 18 rem 19 rem set up two character sets 20 for i=0 to 1:ch(i)=1024*cc(i):cb(i)=(peek(53272)and 240)or cc(i):next 30 for i=0 to 1:for j=27 to 29:for k=0 to 7 40 re...
Attribute VB_Name = "CAddict" 9;Скорость 15;Время действия подвижного объекта 16;Время действия неподвижного объекта 19;Затраты энергии подвижным объектом 20;Затраты энергии неподвижным объектом 24;Потери информации 25;Потери времени 27;Надёжность 28;Точность измерения 29;Точность изготовления 30;Вредные факторы, дейст...
10 REM ###################### FUNKTNPR.BAS ######################## 20 REM Funktionsberechnug zu Erstellung eines Graphen 30 out 4,18:dim s(10):e=2.7183:Pi=3.1416 40 color 1,1,1,1,1:fullw 2:clearw 2:gosub INFO:gosub INIT:goto 90 50 INIT:gotoxy 1,0:print"Funktions-Graph"chr$(191)" erstellt auf 260ST "...
Version =20 VersionRequired =20 Begin Form PopUp = NotDefault DefaultView =0 TabularFamily =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =10440 DatasheetFontHeight =9 ItemSuffix =57 Left =6465 Top =2175 Right =17280 Bottom =10425 ...
10 'TERM.BA: Terminal Program 20 'Copyright 1983 by Tandy Corp. All rights reserved. 30 MAXFILES=3:CLEAR 256,HIMEM-14:DEFINT A-Z 40 DIM KD$(3,8),DX$(1),PX$(1),QI 50 AD!=HIMEM:FOR I=1 TO 13:READ B:POKE AD!+I,B:NEXT I:RD!=HIMEM+1 60 DATA 235,205,109,109,62,255,18,200,205,126,109,18,201 70 FOR S=1 TO 3:FOR K=1 TO 8:...
-- AtariPiano.bas -- -- Demonstrates the music capability and keypad input of "Basic Programming" -- for the Atari 2600. Translates the first eight keypad buttons into -- musical notes [1..8] => Note[0..7]. Source code adapted from similar -- program in the "Basic Programming" user manual, and modified to elimin...
DIM A, B, C, D, I A = 1 B = 2 C = "HELLO" D = "WORLD" PRINT "A: "; A PRINT "B: "; B PRINT "C: "; C PRINT "D: "; D PRINT " " REM Print a separator I = 1 LOOP WHILE I < 9 LOCATE I, 10 PRINT "|" I = I + 1 END LOOP IF A == B THEN PRINT "A == B" END IF LOCATE 1, 12 IF A <> B THEN PRINT "A <> B" END IF LOCATE 2, ...
REM File: .bas REM Data: REM Programmer: Yuriy Lomako REM Description: REM ------------------------------------------------------------------- SCREEN 7 FOR x = 1 TO 100 STEP 10 FOR y = 1 TO 100 STEP 10 LINE (95, 60)-(x, y), INT(RND * 6) + 1 NEXT y NEXT x
Attribute VB_Name = "Sub_P_kon_ko" Sub P_kon_ko() dim P_kon# for j = 1 to n_ko b_eli(j) = dik8(j) a_eli(j) = S_kon(j)/(PI * b_eli(j)) P_eli(j) = 2 * (a_eli(j)^(log(2)/log(PI/2)) + b_eli(j)^(log(2)/log(PI/2)))^(1/(log(2)/log(PI/2))) b_box(j) = dik8(j) a_box(j) = S_kon(j)/b_box(j) S_box(j) = a_box(j) * b_box(j) a_kon...
Operation =1 Option =2 Begin InputTables Name ="qaz_sel_OT_Census_Report_a" End Begin OutputColumns Expression ="qaz_sel_OT_Census_Report_a.ParkPlot" Expression ="qaz_sel_OT_Census_Report_a.Visit_Year" Alias ="MaxOfLofN2" Expression ="Max(qaz_sel_OT_Census_Report_a.LofN2)" End Begin OrderBy Exp...
1111 ON ERROR GOTO 9000 SCREEN 12 PALETTE 8, 19 + (19 * 256) + (19 * 65536) DEFDBL A-Z DIM P(39, 11), Px(39, 5), Py(39, 5), Vx(39), Vy(39), B(1, 250), Ztel(46), Znme$(39) DIM Pz(3021, 2) AS SINGLE 91 OPEN "I", #1, "starsr" FOR i = 1 TO 3021 INPUT #1, Pz(i...
50 ' DO NOT CHANGE FROM HERE TO LINE 99 55 ' YOUR CODE SHOULD START AT LINE 101 60 GOTO 15000 65 ' DO NOT DELETE OR CHANGE THIS LINE NUMBER 70 onerrorgoto90 75 call msxpiver 80 goto 100 90 bload "msxpiext.bin",r 100 ' DO NOT DELETE THIS LINE 110 GOSUB 6000:GOSUB6100 ' Define FunctIon Keys and RC mappings 115 ...
Attribute VB_Name = "Tools_Write_csv_file" Sub Write_CSV_file() 'this will write a csv file where you want infrom column A starting at row 5 and then add numbers ' for importing to Corel. Dim Ref As New Collection i = 5 Do While Not (Cells(i, 1)) = "" Ref.Add Item:=Cells(i, 1) i = ...
1 %TITLE "AR Summary of Payments" %SBTTL "AR_RPRT_SUMPAY" %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 ! the inclus...
10 PRINT "hello, world" 20 END
10 REM This is a test 15 PRINT "NUMBERS","QUOTIENT","MODULUS" 20 LET A=12 21 LET B=7 22 LET Q=A/B 23 LET M=MOD(A,B) 24 PRINT A;B,Q,M 30 LET A=-12 31 LET B=7 32 LET Q=A/B 33 LET M=MOD(A,B) 34 PRINT A;B,Q,M 40 LET A=12 41 LET B=-7 42 LET Q=A/B 43 LET M=MOD(A,B) 44 PRINT A;B,Q,M 50 LET A=-12 51 LET B=-7 52 LET Q=A/B 53 LE...
'File TE_tilePageCSUB.BAS 0+DATE$++Time$ CSUB TE_tilePageCSUB 00000000 4FF0E92D 68124C3F 681F6824 68096BE3 9020F8D3 ED2D6800 B08D8B02 92059D19 9E186BA2 9203682D 42AF681A 97046A9B 68339308 9E1B9109 9306920A 1C6ADC5C F1034601 F8CD0B01 9207902C E9CD17C2 9A1A1200 EE081C50 E9DD0A10 42933205 9B04DC3D 9A0846B2 F...
0REM THE BEST OF INTERFACE PAGE 44 10 REM ASTEROID BELT BY I. SMITH 20 PRINT $12;C=#80D0 30 PRINT" a s t e r o i d b e l t"'' 40 PRINT"WHICH DIFFICULTY FACTOR DO YOU"'"WANT :"' 50 PRINT"1-VERY EASY"'"2-EASY"'"3-AVERAGE"'"4-DIFFICULT"' 60 PRINT"5-IMPOSSIBLY DIFFICULT"';INPUT L 70 IF L>5 OR L<1 THEN GOTO 10 80 IF L<4...
Operation =1 Option =0 Where ="(((Vendor.CompName) Is Not Null) AND ((dbo_ProjectHeader.void)=False) AND ((dbo_" "ProjectHeader.IsFSC)=True))" Begin InputTables Name ="dbo_ProjectHeader" Name ="dbo_ContactGeneral" Name ="dbo_ContactName" Name ="dbo_CompanyEmployee" Name ="viewTotalProjectValue"...
5 REM DRAWS A FROG... 10 SCREEN 0 100 BL=6:ML=40:AD=0.5:TI$="000000":COLOR 1,0 110 DIM I(10),XT(6),YT(6),XP(6),YP(6),XD(6),YD(6),SC(6) 120 DIM X,Y,B2,B3,P,PP,AC 130 VP=30000 140 WP=31000 160 GOSUB 900 190 GOSUB 820 200 GOSUB 670 220 GOSUB 270 230 REM JUMP TARGET 240 PRINTTI 250 REM GET A$:IF A$="" THEN 230...