How can I wrap long lines of code?
Posted: Wed Mar 03, 2010 6:11 pm
I've looked through the docs, and forum. The latest I found was an entry
from several months ago. Was this ever corrected so we could wrap long
lines of code?
thanks in advance.
from several months ago. Was this ever corrected so we could wrap long
lines of code?
Code: Select all
;------------------------------------------------------------
; create a main window
;------------------------------------------------------------
mainWin = OpenWindow(#PB_Any, 0, 0, 270, 140, "ListViewGadget", #PB_Window_SystemMenu | #PB_Window_SizeGadget |#PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_ScreenCentered)
vs.
;------------------------------------------------------------
; create a main window
;------------------------------------------------------------
mainWin = OpenWindow(#PB_Any, ;; create a window and assign id to mainWin
0, 0, 270, 140, ;; window size
"ListViewGadget", ;; name of window appears in title bar
#PB_Window_SystemMenu | ;; include a system menu
#PB_Window_SizeGadget | ;; allow resizing
#PB_Window_MinimizeGadget | ;; allow minimize button
#PB_Window_MaximizeGadget | ;; allow maximize button
#PB_Window_ScreenCentered) ;; center on screen