The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Input and Output
#1
I am using the following macro with the input


str author_input
str title_input
str v_input
str t_input
str y_input
str p_input
if(!inp(author_input "Author:") or !author_input.len) ret
if(!inp(title_input "Title:") or !title_input.len) ret
if(!inp(v_input "Vol:") or !v_input.len) ret
if(!inp(t_input "Town:") or !t_input.len) ret
if(!inp(y_input "Year:") or !y_input.len) ret
if(!inp(p_input "PageNos:") or !p_input.len) ret
outp "("
outp author_input
outp title_input
outp "v"
outp v_input
outp "["
outp t_input
outp ","
outp y_input
outp "]"
outp "p"
outp p_input
outp ")"

The output looks like this:
(Author Title Vol 3 [Town, 1947 ] p 22 )

at the end they each insert an extra space how do i get rid of that space?

I have tried to put in keystrokes and also tried the alternate command paste


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)