[Gambas-bugtracker] Bug #2081: Trailing semicolon stops print from running properly before input command

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Feb 9 04:04:55 CET 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2081&from=L21haW4-

Rafael FRYER reported a new bug.

Summary
-------

Trailing semicolon stops print from running properly before input command

Type             : Bug
Priority         : Medium
Gambas version   : 3.15
Product          : Language


Description
-----------

I'm making a basic command line program which simply asks for input, then responds accordingly. I'm aiming to have a small prompt (please enter your question: ) and then have Input get whatever you type in on that line. However when I use a semicolon (or comma) to prevent Print from adding a new line it causes the program to execute the Input line and only the Print command just before the program exits.


System information
------------------

[System]
Gambas=3.15.2
OperatingSystem=Linux
Kernel=5.11.0-1-MANJARO
Architecture=x86_64
Distribution=arch Manjaro Linux
Desktop=KDE5
Theme=breeze
Language=en_AU.UTF-8
Memory=15437M

[Libraries]
Cairo=libcairo.so.2.11704.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.13
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.20
GStreamer=libgstreamer-1.0.so.0.1803.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.20
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.107.0.0
QT5=libQt5Core.so.5.15.2
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=/usr/share/xsessions/plasma
DISPLAY=:0
GB_GUI=gb.qt5
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:<home>/.gtkrc-2.0:<home>/.config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module:appmenu-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:<home>/.gtkrc:<home>/.config/gtkrc
HOME=<home>
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=en_AU.UTF-8
LANGUAGE=en_AU.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_ALL=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_MONETARY=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_NUMERIC=en_AU.UTF-8
LC_PAPER=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LOGNAME=<user>
MAIL=/var/spool/mail/<user>
MOTD_SHOWN=pam
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
PATH=<home>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=<home>
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_LOGGING_RULES=*.debug=false
QT_SCREEN_SCALE_FACTORS=eDP=1.25;HDMI-A-0=1.25;DisplayPort-0=1.25;
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1057,unix/<hostname>:/tmp/.ICE-unix/1057
SHELL=/bin/bash
SHLVL=0
TZ=:/etc/localtime
UBUNTU_MENUPROXY=1
USER=<user>
XAUTHORITY=<home>/.Xauthority
XCURSOR_SIZE=36
XCURSOR_THEME=Qogir-cursors
XDG_CURRENT_DESKTOP=KDE
XDG_DATA_DIRS=<home>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=1




More information about the Bugtracker mailing list