World: r3wp
[I'm new] Ask any question, and a helpful person will try to answer.
older newer | first last |
GrahamC 22-May-2011 [4250x2] | to see the first message you have to either use a 3rd party message browser ... or set your messages to a high number eg. 10,000 but that will slow everything down. |
In settings I have 1000 messages per group | |
JosDuchIt 22-May-2011 [4252] | Seems i have a settings of 800 Looks OK to me. What 3d party browsers do exist? |
GrahamC 22-May-2011 [4253x2] | several people have written them .. check rebol.org |
DideC wrote one | |
todun 4-Oct-2011 [4255x3] | hello |
how can I remove the newline from the end of a file I wrote to? thanks. | |
my last attempt to connect to the room failed... | |
MikeL 5-Oct-2011 [4258x2] | todun - read http://www.rebol.com/docs/core23/rebolcore-6.htmlIt shows you how to handle a series. Getting to the End, backing up a character, and removing it might work. If you just want to remove the last character you can always do that in one simple line. Remember to save the full series from the head. If you are not sure the last character is a LF then you need to add a test ... still in the same line if you want to scrunch it. |
Missed the solutions on Rebol School. Sorry for the extra churn. | |
todun 5-Oct-2011 [4260x4] | @MikeL, thanks. I will try to make it work. |
How can I make a file containing a tokens on each line be displayed one at a time in an info field(ie not modfiable, just readable) on the view when I click a button? | |
how do I make the data loaded from the file change to another token in the file when I click another button? | |
how to copy/paste in ALTME? | |
Pekr 5-Oct-2011 [4264] | right click upon the message text.But - sometimes it does not work. You can also hilite the text by mouse, ctrl + c for copy, ctrl + v for paste ... |
todun 5-Oct-2011 [4265x3] | @Pekr, Thanks for your reply. I am using Linux. None of the suggestiosn you made work. Thanks though. |
@Pekr, to clarify. Using the right-click does show an Alert button that I have "copied to clipboard" but does not twll me what to do. | |
..do paste it. | |
Kaj 5-Oct-2011 [4268x2] | On Linux it's even more awkward than on other systems. You have to go through an exact procedure that I've written up several times here in the AltME group |
The main thing is that you have to use the middle mouse button for pasting | |
todun 5-Oct-2011 [4270] | @Kaj, Thanks for your response. The middle mouse button doesn't work for pasting for me. |
Sunanda 5-Oct-2011 [4271] | Earlier discussion of paste bug and possible work-arounds: http://www.rebol.org/aga-display-posts.r?post=r3wp151x5155 |
todun 5-Oct-2011 [4272] | clicking onthe link doesn't open it for me. |
PeterWood 5-Oct-2011 [4273] | Clicking on links doesn't work in the Linux version of AltME |
todun 5-Oct-2011 [4274x2] | @PeterWood, thank you for the notice. |
is there a way to make the ALTME push my message to you guys without having to do "CNTRL + S" all the time? | |
Henrik 5-Oct-2011 [4276] | you can disable the pencil icon, then it allows you to simply press return. but then you can only send one line of text at a time, which may not be practical. |
todun 5-Oct-2011 [4277x3] | @Henrik, thanks. |
is the ! a special character in rebol? For isntance I come across an example where it is used to define a varaibel like so.....model!: context [...] | |
does using the ! have any significant meaning or it's just a choice of variable naming? | |
Geomol 5-Oct-2011 [4280] | No special meaning. ! is used in the end of datatypes to easily distinguish them from other words. |
todun 5-Oct-2011 [4281] | @Geomol, thank you. |
Geomol 5-Oct-2011 [4282] | Some might want to use ! as NOT, like in other languages. You can do that by: >> !: :not >> if ! 2 > 4 [print "it's true"] it's true |
todun 5-Oct-2011 [4283] | @Geomol, I see. So you use the :not to make not somehow yeild its value to !: ? |
Geomol 5-Oct-2011 [4284x2] | Yeah, if I didn't put the : in front, it would look up, what NOT means, found it to be a function taking one argument and give an error, because the argument isn't there. With :not, it takes the value of NOT without evaluating it, and that's the function itself. >> !: not ** Script Error: not is missing its value argument |
:not is called a get-word! datatype. You get same result as normal words for most datatypes, like >> a: 42 == 42 >> b: :a == 42 That would be the same as writing: >> b: a == 42 But for functions, operators and such, get-words are useful. | |
todun 5-Oct-2011 [4286] | @Geomol, it does function composition? |
Geomol 5-Oct-2011 [4287] | What do you mean? |
todun 5-Oct-2011 [4288x2] | @Geomol, I mean that for non-integer values(functions etc), using the get-word! datatype seems to pass a function into a variable. |
Geomol, I meant to say equational-reasoning and not function composition. Sorry. | |
Geomol 5-Oct-2011 [4290] | Well, I'm not sure, exactly what you mean, but in REBOL you don't have keywords. Functions, operators and such are often referenced by words. So NOT is just a word like ! can be a word. I just defined ! to mean the same as the NOT word. You can redefine everything in REBOL. |
todun 5-Oct-2011 [4291] | Geomol, Ok. That makes sense. What I mean perhaps is not neccessary in this context where everything is a word. |
Izkata 5-Oct-2011 [4292] | Linux copy/paste: To copy from AltME to somewhere else, right-clicking on a URL will copy it to the clipboard, right clicking on text will copy the entire thing to the clipboard, or highlighting it and pressing CTRL + C will copy it to the clipboard. To paste it somewhere else, use the middle mouse button. To go from somewhere else to AltME, highlight the text (which automatically copies it), then in AltME press CTRL + V It's confusing because AltME accesses the X clipboard, and uses CTRL+C/CTRL+V to do so, while traditionally the X clipboard is just highlight to copy/middle-click to paste. CTRL+C/CTRL+V elsewhere on linux accesses a different clipboard |
todun 6-Oct-2011 [4293] | @Izkata, Ok. Thanks |
todun 8-Oct-2011 [4294] | It seems that a list is always considered to begin at the head, regardless of the sublist you are dealign with. Is there a way to ensure that when you specify a sub-list you are always in a sub-list? |
Henrik 8-Oct-2011 [4295] | not sure what is meant, but referencing the same series! via separate words always maintain separate indexes. |
todun 8-Oct-2011 [4296] | @Henrik, I want to refernce the same series but the modified version, at each call to the series. |
Henrik 8-Oct-2011 [4297x2] | if by modification you mean, moved index, then simply: >>b: next a: [a b c] == [b c] >> same? b a == false >> head? b == false >> head? a == true >> same? head b a == true >> a/2: 'y >> a == [a y c] >> b == [y c] The word "modified" is usually used when changing something in the series, except for the index. It's important to know when a function modifies a series or not, as you then will have to copy it first, if you don't want the original series modified. |
not sure if this helps you | |
todun 8-Oct-2011 [4299] | @Henrik, this is what I mean. |
older newer | first last |