It is currently Fri Mar 24, 2017 5:04 am



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: block string assignment
Unread postPosted: Thu Feb 02, 2017 5:12 pm 
Offline

Joined: Wed Apr 15, 2015 3:57 am
Posts: 408
Using the ~ to extend lines or using s$+= are a bit cumbersome and ugly for embedding HTML code.
I would like to see an embedded block string assignment,

for example:

:s$
<html>
<body>
<p>Basic!'s great!</p>
</body>
</html>
:

Also it should allow the user to use single and double quotes without the \
This would make cutting and pasting embedded html/css/javascript code much, much easier and much prettier.

For my own purposes, for now I could probably just build my own little preprocessor into my ezBAS editor but I thought this would be a really nice thing to have that wouldn't screw up the existing syntax.


Report this post
Top
 Profile  
 
 Post subject: Re: block string assignment
Unread postPosted: Fri Feb 03, 2017 12:48 am 
Offline
User avatar

Joined: Mon Aug 18, 2014 1:16 pm
Posts: 1287
Gets my vote


Report this post
Top
 Profile  
 
 Post subject: Re: block string assignment
Unread postPosted: Fri Feb 03, 2017 3:07 am 
Offline
User avatar

Joined: Sat Oct 04, 2014 5:45 am
Posts: 611
For an interim arrangement try this in RfoDesigner's editor.
- Copy a website's code.
- Clear RfoDesigner editor with "New"
- Paste the website's code in the editor.
- Convert the html to Basic with "Html/Bas" button.
- Compile as APK.
- Run on your phone.
It does not work for all website code. I am sure Cterp will know why but too long to explain here.
See images below for example.

ImageImage

_________________
Download and tutorial for RFODESIGNER
https://sites.google.com/site/rfodesigner/


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred