<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://code-reference.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://code-reference.com/feed.php">
        <title>Programming | Library | Reference - Code-Reference.com ivbasic:sampleapplication:flashcards</title>
        <description></description>
        <link>https://code-reference.com/</link>
        <image rdf:resource="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-18T18:11:47+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/ivbasic/sampleapplication/flashcards/library?rev=1708042319&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/ivbasic/sampleapplication/flashcards/library?rev=1708042319&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:11:59+02:00</dc:date>
        <title>ivbasic:sampleapplication:flashcards:library</title>
        <link>https://code-reference.com/ivbasic/sampleapplication/flashcards/library?rev=1708042319&amp;do=diff</link>
        <description>fn randomcolor[]
dim l[4]
for a = 0 to 3
precision[0]
r= random[255]
precision[2]
l[a] =  (r / 255)

next a

randomcolor = (r / 255)

endfn


cmd square[]
Dim global color[4]
Dim global widthHeight[2]
Dim rectStart[2]
 
color[0]=randomcolor[] ' red
color[1]= randomcolor[]
color[2]=randomcolor[]
color[3]=1.0  ' alpha
 
rectStart[0]= 10 ' x
rectStart[1]= 10 ' y
 
' if width and height are the same is a circle
widthHeight[0] = 400 ' width
widthHeight[1] = 400 ' height
 
SetLineWidth[5]
 
fillRect[c…</description>
    </item>
</rdf:RDF>
