Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Mystic BBS  <--  <--- Return to Home Page
   Networked Database  Mystic BBS   [770 / 900] RSS
 From   To   Subject   Date/Time 
Message   James Coyle    Christian Sacks   [ANSI] Re: Mystic Python   February 20, 2019
 2:18 PM *  

CS> How do you take input from a user in Mystic Python?
CS> I tried using something likeFrom testpython
.mpy that comes with Mystic
def do_input_demo():writeln(" Python Demonstra
tion Program > Input Demo|$X79 ";)write('R
Type a string: ');input = getstr(11, 40, 120
, "Default";);writeln("REnter characters an
d press [ESCAPE] when done:R";)
while not shutdown():char, extended = getkey();
if extended:if char == KEY_UP:w
riteln("you pressed up arrow";);elif char == KEY_DOWN:
writeln("you pressed down arrow";);elif char == KEY_LEFT:
writeln("you pressed left arrow";);elif char == KEY_RIGHT:
writeln("you pressed right arrow";);else:write
ln("You pressed extended key #" + str(ord(char)))
else:if char == KEY_ESCAPE:writeln("you pr
essed ESCAPE";);break;elif char == KEY_ENTE
R:writeln("you pressed enter";);elif char =
= KEY_TAB:writeln("you pressed tab";);else:
writeln("you pressed character " + char);
--- Mystic BBS v1.12 A43 2019/02/17 (Linux/64)
 * Origin: Sector 7 (1:129/215)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Mystic BBS  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0912 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_2s34rulojqlemmpsogdjmlvv27, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_2s34rulojqlemmpsogdjmlvv27, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_2s34rulojqlemmpsogdjmlvv27, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0