Home > Backend Development > PHP Tutorial > javascript - Please help, what is the programming language with <-?

javascript - Please help, what is the programming language with <-?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-29 08:50:53
Original
968 people have browsed it

What programming language is this below? It looks like js, but I have never seen it in js<-

<code>GetSinaURL <- function(code = '600000', year = '2016', quarter = '1', index = FALSE) {
  sina.url <- ''
  if (index) {
    sina.url <- paste0('http://vip.stock.finance.sina.com.cn/corp/go.php/vMS_MarketHistory/stockid/', code, '/type/S.phtml?year=', year, '&jidu=', quarter)
  } else {
    sina.url <- paste0('http://vip.stock.finance.sina.com.cn/corp/go.php/vMS_FuQuanMarketHistory/stockid/', code, '.phtml?year=', year, '&jidu=', quarter)
  }
  return(sina.url)
}</code>
Copy after login
Copy after login

Reply content:

What programming language is this below? It looks like js, but I have never seen it in js<-

<code>GetSinaURL <- function(code = '600000', year = '2016', quarter = '1', index = FALSE) {
  sina.url <- ''
  if (index) {
    sina.url <- paste0('http://vip.stock.finance.sina.com.cn/corp/go.php/vMS_MarketHistory/stockid/', code, '/type/S.phtml?year=', year, '&jidu=', quarter)
  } else {
    sina.url <- paste0('http://vip.stock.finance.sina.com.cn/corp/go.php/vMS_FuQuanMarketHistory/stockid/', code, '.phtml?year=', year, '&jidu=', quarter)
  }
  return(sina.url)
}</code>
Copy after login
Copy after login

Googled it and found the original text.
R grabbed the historical price of A shares and wrote it into MySQL

Is it R voice?

F# uses <- as the assignment operation, and I don’t know the rest.

Golang has this symbol, but there is no such thing as function

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
What are JavaScript hook functions?
From 1970-01-01 08:00:00
0
0
0
What is JavaScript garbage collection?
From 1970-01-01 08:00:00
0
0
0
c++ calls javascript
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template