Advertisement
jargon

SEQ22 Demo

Dec 17th, 2022
2,066
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.    
  2.     ReDim As SEQ_Database sFruits(any)
  3.     Dim As SEQ_Database Fruit
  4.    
  5.     SEQ_DB_From_File( sFruits(), ".\Assets (v0x22)\Fruit.SEQ" )
  6.    
  7.     SEQ_Bubble_Sort(sFruits())  
  8.  
  9.     SEQ_Echo  "--- Assets ---" & CRLF & _
  10.     SEQ_DB_To_Raw( sFruits() )
  11.    
  12.     TextPlus_WaitKey()
  13.  
  14.     SEQ_Echo  "" & CRLF & "--- BinaryQuery() ---" & CRLF & _
  15.     "carret" & ":" & SEQ_Database_Query(sFruits(),"carret").Value & CRLF & _
  16.     "watermelon" & ":" & SEQ_Database_Query(sFruits(),"watermelon").Value & CRLF & _
  17.     "brick" & ":" & SEQ_Database_Query(sFruits(),"brick").Value & CRLF
  18.  
  19.     TextPlus_WaitKey()
  20.  
  21.     SEQ_Database_Set(sFruits(),"brick","inbad")
  22.    
  23.     SEQ_Echo  "--- Added brick ---" & CRLF & _
  24.     SEQ_DB_To_Raw( sFruits() )
  25.  
  26.     TextPlus_WaitKey()
  27.    
  28.     SEQ_Database_Delete( sFruits() , "lime" )
  29.  
  30.     SEQ_Echo  "--- Deleted lime ---" & CRLF & _
  31.     "lime" & ":" & SEQ_Database_Query(sFruits(),"lime").Value & CRLF & _
  32.     SEQ_DB_To_Raw( sFruits() )
  33.  
  34.     TextPlus_WaitKey()
  35.  
  36.     SEQ_Echo  "--- Exporting to SEQ File ---" & CRLF & _
  37.     SEQ_DB_To_Raw( sFruits() )
  38.    
  39.     SEQ_DB_To_File( sFruits(), "./Assets (v0x22)/Fruit 2.SEQ" )
  40.    
  41.     TextPlus_WaitKey()
  42.  
  43.     end
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement