ચિત્ર:Locomotive BASIC color bars.gif

Page contents not supported in other languages.
વિકિપીડિયામાંથી

મૂળભુત ફાઇલ

(૮૪૧ × ૫૮૬ પીક્સલ, ફાઇલનું કદ: ૫૮ KB, MIME પ્રકાર: image/gif, આવર્તન (લુપ),
૧૨૮ છબીઓ
, ૧૧ s)

આ ફાઇલ Wikimedia Commonsનો ભાગ છે અને શક્ય છે કે અન્ય પ્રકલ્પોમાં પણ વપરાઇ હોય. ત્યાંનાં મૂળ ફાઇલનાં વર્ણનનાં પાના પર આપેલું વર્ણન નીચે દર્શાવેલું છે.

સારાંશ:

વર્ણન
English: An Amstrad CPC emulated in MAME running a short Locomotive BASIC demo program which displays color bars similar to SMPTE color bars or EBU colour bars.
તારીખ
સ્રોત પોતાની રચના
લેખક Morn

Locomotive BASIC program

10 mode 0
20 ink 1,26:ink 2,24:ink 3,20:ink 4,18
30 ink 5,8:ink 6,6:ink 7,2:ink 8,0
40 for i=1 to 8
50 paper i
60 print space$(40);
70 next

Program notes

  • Key words are printed in uppercase when the program is output with "list". But entering code is usually done in lowercase.
  • line 10: screen mode 0 is used (16 colours; 20x25 characters)
  • lines 20/30: set up colour palette; note that multiple instructions can be combined on a line
  • lines 40 to 70: a "for" loop over i
  • line 50: set the paper (background) colour to i
  • line 60: print 40 spaces (= 2 lines); space$ is a built-in function that returns a string
  • When the program ends, the "Ready" prompt is white-on-black because the current foreground (pen) colour, which is 1, had been set to white ("ink 1,26"). The background colour is 8 after the loop and "ink 8,0" had set that to black previously. See File:Amstrad CPC ink numbers.png for a chart of Amstrad ink numbers.

પરવાના

હું, આ કાર્યનો પ્રકાશનાધિકાર ધારક, તેને નીચેના પરવાના હેઠળ અહીં પ્રકાશીત કરૂં છું:
Creative Commons CC-Zero આ ફાઈલ વપરાશની પરવાનગી : Creative Commons CC0 1.0 Universal Public Domain Dedication.
આ રચના સાથે સંકળાયેલી વ્યક્તિએ આ રચનાના સર્વ વૈશ્વીક પ્રકાશન અધિકારોને દસ્તાવેજ (deed) દ્વારપબ્લીક ડોમેન public domainમાં અર્પિત કર્યાં છે. તમે આની નકલ કરી શકો, વહેંચી શકો, ધંધાદારી કારનો માટે પણ. આ માટે કોઈ પણ પરવાનગી લેવાની જરૂર નથી

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

દર્શાવે છે

Locomotive BASIC અંગ્રેજી

source of file અંગ્રેજી

original creation by uploader અંગ્રેજી

media type અંગ્રેજી

image/gif

ફાઇલનો ઇતિહાસ

તારીખ/સમય ઉપર ક્લિક કરવાથી તે સમયે ફાઇલ કેવી હતી તે જોવા મળશે.

તારીખ/સમયલઘુચિત્રપરિમાણોસભ્યટિપ્પણી
વર્તમાન૦૧:૪૫, ૨૫ ડિસેમ્બર ૨૦૨૩૦૧:૪૫, ૨૫ ડિસેમ્બર ૨૦૨૩નું લઘુચિત્ર સંસ્કરણ૮૪૧ × ૫૮૬ (૫૮ KB)MornUploaded own work with UploadWizard

આ ફાઇલને કોઇ પાનાં વાપરતા નથી.

ફાઇલનો વ્યાપક ઉપયોગ

નીચેની બીજી વિકિઓ આ ફાઈલ વાપરે છે: