Platforms to show: All Mac Windows Linux Cross-Platform

StdinMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Files MBS Util Plugin 6.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Function: A class to read from stdin.
dim s as new StdoutMBS
dim r as new StdinMBS
dim v,n as Integer

s.Write "Integer: "

print "integer read: "+str(v)
print "integer count: "+str(n)

dim d as Double

s.Write "Double: "

print "double read: "+str(d)
print "double count: "+str(n)

dim t as string

s.Write "String: "

print "string read: "+t
print "string count: "+str(n)

s.Write "Character (type a and return to end): "

print "got character: "+str(n)
loop until n=65 or n=97

Feedback, Comments & Corrections

  • 2 shared properties
    • shared property Echo as Boolean
    • shared property IsReady as boolean
  • 8 shared methods
    • shared method AttachConsole(ProcessID as Integer = -1) as Integer
    • shared method Flush
    • shared method FreeConsole as Integer
    • shared method GetCharacter as Integer
    • shared method Read(count as Integer) as string
    • shared method ReadDouble(byref value as Double) as Integer
    • shared method ReadInteger(byref value as Integer) as Integer
    • shared method ReadString(byref value as string) as Integer

This class has no sub classes.

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.

Statictext   -   StdoutMBS

The biggest plugin in space...

MBS FileMaker blog

Start Chat